Get the real length of a string - by correctly counting astral symbols and ignoring ansi escape codes
☆172Jul 25, 2026Updated 3 months ago
Alternatives and similar repositories for string-length
Users that are interested in string-length are comparing it to the libraries listed below. We may earn a commission when you buy through links labeled 'Ad' on this page.
Sorting:
- Get the visual width of a string - the number of columns required to display it☆532Nov 11, 2026Updated last week
- Check if a path is the current working directory☆23Sep 18, 2026Updated 2 months ago
- Check if a number is a redirect HTTP status code☆25Sep 18, 2026Updated 2 months ago
- Similar to String#trim() but removes only whitespace on the right☆22Jul 9, 2021Updated 5 years ago
- Transform the first chunk in a stream☆28Sep 18, 2026Updated 2 months ago
- Deploy to Railway using AI coding agents - Free Credits Offer • AdUse Claude Code, Codex, OpenCode, and more. Autonomous software development now has the infrastructure to match with Railway.
- ES2015 Number.isFinite() ponyfill☆20Apr 7, 2021Updated 5 years ago
- Check if a path is in the current working directory☆23Sep 18, 2026Updated 2 months ago
- Gracefully restore the CLI cursor on exit☆43Sep 18, 2026Updated 2 months ago
- Check if a path is inside another path☆41Sep 18, 2026Updated 2 months ago
- DES for browserify☆10Dec 21, 2024Updated last year
- ES2015 `String#codePointAt()` ponyfill☆23Jan 23, 2021Updated 5 years ago
- Regular expression for matching a shebang line☆48Sep 18, 2026Updated 2 months ago
- [DEPRECATED] Node.js os.tmpdir() ponyfill☆37Jan 24, 2021Updated 5 years ago
- Check if the character represented by a given Unicode code point is fullwidth☆51Sep 18, 2026Updated 2 months ago
- Serverless GPU API endpoints on Runpod - Get Bonus Credits • AdSkip the infrastructure headaches. Auto-scaling, pay-as-you-go, no-ops approach lets you focus on innovating your application.
- A cache for managing namespaced sub-caches☆14Sep 4, 2021Updated 5 years ago
- Get the PATH environment variable key cross-platform☆46Sep 18, 2026Updated 2 months ago
- Get the visual width of the widest line in a string - the number of columns required to display it☆40Sep 18, 2026Updated 2 months ago
- Lowercase the keys of an object☆43Sep 18, 2026Updated 2 months ago
- Node.js 0.12 path.isAbsolute() ponyfill☆43Jan 24, 2021Updated 5 years ago
- Prepend `https://` to humanized URLs like `sindresorhus.com` and `localhost`☆66Sep 18, 2026Updated 2 months ago
- Create an object path (dot notation) from a list or array of strings.☆16Dec 31, 2020Updated 5 years ago
- Utility method to run function either synchronously or asynchronously using the common `this.async()` style.☆25Aug 8, 2025Updated last year
- ES2015 Number.isNaN() ponyfill☆30May 2, 2024Updated 2 years ago
- Deploy on Railway without the complexity - Free Credits Offer • AdConnect your repo and Railway handles the rest with instant previews. Quickly provision container image services, databases, and storage volumes.
- Map `visit` over an array of objects.☆17Jun 27, 2022Updated 4 years ago
- Check if a file path is a binary file☆50Sep 18, 2026Updated 2 months ago
- Regular expression for matching reserved filename characters☆53Oct 7, 2026Updated last month
- Expand POSIX bracket expressions (character classes) in glob patterns.☆27Oct 4, 2021Updated 5 years ago
- Get the first path that exists on disk of multiple paths☆65Sep 18, 2026Updated 2 months ago
- Strip the final newline character from a string/buffer☆39Sep 18, 2026Updated 2 months ago
- Get the user home directory with fallback to the system temp directory☆30Sep 18, 2026Updated 2 months ago
- Return true if the file is (or the file path has) a dotfile.☆14May 30, 2017Updated 9 years ago
- Create an array with values that are present in the first input array but not additional ones☆40Sep 18, 2026Updated 2 months ago
- Simple, predictable pricing with DigitalOcean hosting • AdAlways know what you'll pay with monthly caps and flat pricing. Enterprise-grade infrastructure trusted by 600k+ customers.
- Returns `true` if a file path appears to be relative. Moved from the "relative" lib.☆14May 6, 2018Updated 8 years ago
- Visit a method over the items in an object, or map visit over the objects in an array. This is an alternative approach to using extend or…☆20Dec 15, 2020Updated 5 years ago
- Check if a given module ID is resolvable with require()☆16Nov 30, 2018Updated 7 years ago
- Node.js path.dirname() ponyfill☆14Nov 13, 2021Updated 5 years ago
- PostCSS helpers to throw or output GNU style messages☆10Jul 2, 2024Updated 2 years ago
- Center-align the text in a string.☆23May 26, 2017Updated 9 years ago
- Check if a value is a regular expression☆26Sep 18, 2026Updated 2 months ago
Are these results useful?