Get the visual width of the widest line in a string - the number of columns required to display it
☆40Sep 18, 2026Updated 3 weeks 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:
- Similar to String#trim() but removes only whitespace on the right☆22Jul 9, 2021Updated 5 years ago
- Check if a number is a redirect HTTP status code☆25Sep 18, 2026Updated 3 weeks ago
- Prepend `https://` to humanized URLs like `sindresorhus.com` and `file://` to file paths☆23Sep 18, 2026Updated 3 weeks ago
- Lowercase the keys of an object☆42Sep 18, 2026Updated 3 weeks ago
- Prepend `https://` to humanized URLs like `sindresorhus.com` and `localhost`☆66Sep 18, 2026Updated 3 weeks ago
- Proton VPN Special Offer - Get 70% off • AdSpecial partner offer. Trusted by over 100 million users worldwide. Tested, Approved and Recommended by Experts.
- ES2015 Number.isFinite() ponyfill☆20Apr 7, 2021Updated 5 years ago
- Check if a value is a regular expression☆26Sep 18, 2026Updated 3 weeks ago
- Truncate a semver version: 1.2.3 → 1.2.0☆17Sep 18, 2026Updated 3 weeks ago
- Check if a path is the current working directory☆22Sep 18, 2026Updated 3 weeks ago
- Transform the first chunk in a stream☆27Sep 18, 2026Updated 3 weeks ago
- Create a revved file path☆21Sep 18, 2026Updated 3 weeks ago
- Split a string at one or more indices☆25May 3, 2021Updated 5 years ago
- Get a random key from an object☆18Jul 2, 2024Updated 2 years ago
- Get the version of a binary in semver format☆43Sep 18, 2026Updated 3 weeks ago
- Open source password manager - Proton Pass • AdSecurely store, share, and autofill your credentials with Proton Pass, the end-to-end encrypted password manager trusted by millions.
- ES2015 `String#codePointAt()` ponyfill☆23Jan 23, 2021Updated 5 years ago
- Modify the values of an object☆28Sep 18, 2026Updated 3 weeks ago
- Modern version of duplexer2☆17Sep 18, 2026Updated 3 weeks ago
- Check if a value is an object☆41Sep 18, 2026Updated 3 weeks ago
- Get the URL from a web shortcut file☆15Aug 14, 2021Updated 5 years ago
- Return true if the file is (or the file path has) a dotfile.☆14May 30, 2017Updated 9 years ago
- Check if a file path is a binary file☆49Sep 18, 2026Updated 3 weeks ago
- Create an object path (dot notation) from a list or array of strings.☆16Dec 31, 2020Updated 5 years ago
- Check if a path is in the current working directory☆23Sep 18, 2026Updated 3 weeks ago
- AI Agents on 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.
- Invert the key/value of an object. Example: {foo: 'bar'} → {bar: 'foo'}☆37Sep 18, 2026Updated 3 weeks ago
- Detect the dominant newline character of a string☆55Sep 18, 2026Updated 3 weeks ago
- Map `visit` over an array of objects.☆17Jun 27, 2022Updated 4 years ago
- Get the user home directory with fallback to the system temp directory☆30Sep 18, 2026Updated 3 weeks ago
- Strip UTF-8 byte order mark (BOM) from a buffer☆21Sep 18, 2026Updated 3 weeks ago
- `Promise#finally()` ponyfill - Invoked when the promise is settled regardless of outcome☆47Apr 9, 2021Updated 5 years ago
- Open the URL from a web shortcut file☆17Nov 3, 2021Updated 4 years ago
- Open the URL from a web shortcut file in the browser☆20Nov 3, 2021Updated 4 years ago
- Create an array with values that are present in the first input array but not additional ones☆40Sep 18, 2026Updated 3 weeks ago
- End-to-end encrypted cloud storage - Proton Drive • AdSpecial offer: 40% Off Yearly / 80% Off First Month. Protect your most important files, photos, and documents from prying eyes.
- ES2015 Number.isNaN() ponyfill☆30May 2, 2024Updated 2 years ago
- Get the PATH environment variable key cross-platform☆46Sep 18, 2026Updated 3 weeks ago
- Regular expression for matching a shebang line☆48Sep 18, 2026Updated 3 weeks ago
- Strip the final newline character from a string/buffer☆37Sep 18, 2026Updated 3 weeks ago
- Modify the filename in a path☆17Sep 18, 2026Updated 3 weeks ago
- Get the name of a Windows version from the release number: 5.1.2600 → XP☆48Sep 18, 2026Updated 3 weeks ago
- Check if a value is a Blob☆24Sep 18, 2026Updated 3 weeks ago