Get the visual width of the widest line in a string - the number of columns required to display it
☆40Jan 24, 2026Updated 2 months ago
Alternatives and similar repositories for widest-line
Users that are interested in widest-line are comparing it to the libraries listed below. We may earn a commission when you buy through links labeled 'Ad' on this page.
Sorting:
- Prepend `https://` to humanized URLs like `sindresorhus.com` and `file://` to file paths☆25Jul 9, 2022Updated 3 years ago
- Similar to String#trim() but removes only whitespace on the right☆22Jul 9, 2021Updated 4 years ago
- Check if a number is a redirect HTTP status code☆25Apr 17, 2021Updated 4 years ago
- Lowercase the keys of an object☆41Feb 2, 2026Updated last month
- Prepend `https://` to humanized URLs like `sindresorhus.com` and `localhost`☆66Sep 9, 2025Updated 6 months ago
- DigitalOcean Gradient AI Platform • AdBuild production-ready AI agents using customizable tools or access multiple LLMs through a single endpoint. Create custom knowledge bases or connect external data.
- ES2015 Number.isFinite() ponyfill☆20Apr 7, 2021Updated 4 years ago
- Check if a value is a regular expression☆26Oct 31, 2021Updated 4 years ago
- Check if a path is the current working directory☆22May 10, 2025Updated 10 months ago
- Get a random key from an object☆18Jul 2, 2024Updated last year
- Split a string at one or more indices☆25May 3, 2021Updated 4 years ago
- Transform the first chunk in a stream☆28Nov 1, 2023Updated 2 years ago
- Create a revved file path☆21Jul 9, 2022Updated 3 years ago
- Get the version of a binary in semver format☆42Apr 3, 2024Updated last year
- Check if a path is in the current working directory☆23May 3, 2021Updated 4 years ago
- Managed hosting for WordPress and PHP on Cloudways • AdManaged hosting with the flexibility to host WordPress, Magento, Laravel, or PHP apps, on multiple cloud providers. Cloudways by DigitalOcean.
- ES2015 `String#codePointAt()` ponyfill☆23Jan 23, 2021Updated 5 years ago
- Modify the values of an object☆28Sep 10, 2021Updated 4 years ago
- Modern version of duplexer2☆16Oct 27, 2022Updated 3 years ago
- Check if a value is an object☆42Apr 16, 2021Updated 4 years ago
- Truncate a semver version: 1.2.3 → 1.2.0☆18Jul 9, 2022Updated 3 years ago
- Check if a file path is a binary file☆49Apr 30, 2024Updated last year
- Return true if the file is (or the file path has) a dotfile.☆14May 30, 2017Updated 8 years ago
- Invert the key/value of an object. Example: {foo: 'bar'} → {bar: 'foo'}☆37Feb 26, 2022Updated 4 years ago
- Create an object path (dot notation) from a list or array of strings.☆16Dec 31, 2020Updated 5 years ago
- 1-Click AI Models by DigitalOcean Gradient • AdDeploy popular AI models on DigitalOcean Gradient GPU virtual machines with just a single click and start building anything your business needs.
- Get the URL from a web shortcut file☆14Aug 14, 2021Updated 4 years ago
- Detect the dominant newline character of a string☆56Sep 23, 2023Updated 2 years ago
- Open the URL from a web shortcut file in the browser☆20Nov 3, 2021Updated 4 years ago
- Map `visit` over an array of objects.☆17Jun 27, 2022Updated 3 years ago
- `Promise#finally()` ponyfill - Invoked when the promise is settled regardless of outcome☆47Apr 9, 2021Updated 4 years ago
- Get the user home directory with fallback to the system temp directory☆30Apr 16, 2021Updated 4 years ago
- Strip UTF-8 byte order mark (BOM) from a buffer☆21Oct 24, 2023Updated 2 years ago
- ES2015 Number.isNaN() ponyfill☆30May 2, 2024Updated last year
- Create an array with values that are present in the first input array but not additional ones☆40Sep 14, 2021Updated 4 years ago
- GPU virtual machines on DigitalOcean Gradient AI • AdGet to production fast with high-performance AMD and NVIDIA GPUs you can spin up in seconds. The definition of operational simplicity.
- Get the PATH environment variable key cross-platform☆46Sep 12, 2025Updated 6 months ago
- Strip the final newline character from a string/buffer☆38Oct 28, 2024Updated last year
- Open the URL from a web shortcut file☆17Nov 3, 2021Updated 4 years ago
- Check if a value is a Blob☆24Oct 27, 2023Updated 2 years ago
- Parse / Generate Method Signatures☆12Apr 7, 2016Updated 9 years ago
- Parse and stringify file paths with line and column like `unicorn.js14`☆24Nov 22, 2025Updated 4 months ago
- Modify the filename in a path☆17Jul 9, 2022Updated 3 years ago