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☆530Sep 24, 2026Updated last month
- Check if a path is the current working directory☆22Sep 18, 2026Updated last month
- Check if a number is a redirect HTTP status code☆25Sep 18, 2026Updated last month
- 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 last month
- 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.
- ES2015 Number.isFinite() ponyfill☆20Apr 7, 2021Updated 5 years ago
- Gracefully restore the CLI cursor on exit☆42Sep 18, 2026Updated last month
- Check if a path is in the current working directory☆23Sep 18, 2026Updated last month
- Check if a path is inside another path☆40Sep 18, 2026Updated last month
- DES for browserify☆10Dec 21, 2024Updated last year
- Regular expression for matching a shebang line☆48Sep 18, 2026Updated last month
- ES2015 `String#codePointAt()` ponyfill☆23Jan 23, 2021Updated 5 years ago
- [DEPRECATED] Node.js os.tmpdir() ponyfill☆37Jan 24, 2021Updated 5 years ago
- A cache for managing namespaced sub-caches☆14Sep 4, 2021Updated 5 years ago
- GPUs on demand by Runpod - Special Offer Available • AdRun AI, ML, and HPC workloads on powerful cloud GPUs—without limits or wasted spend. Deploy GPUs in under a minute and pay by the second.
- Get the PATH environment variable key cross-platform☆46Sep 18, 2026Updated last month
- Check if the character represented by a given Unicode code point is fullwidth☆51Sep 18, 2026Updated last month
- Lowercase the keys of an object☆42Sep 18, 2026Updated last month
- Get the visual width of the widest line in a string - the number of columns required to display it☆40Sep 18, 2026Updated last month
- Check if a file path is a binary file☆49Sep 18, 2026Updated last month
- Utility method to run function either synchronously or asynchronously using the common `this.async()` style.☆24Aug 8, 2025Updated last year
- 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 last month
- Create an object path (dot notation) from a list or array of strings.☆16Dec 31, 2020Updated 5 years 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.
- Map `visit` over an array of objects.☆17Jun 27, 2022Updated 4 years ago
- ES2015 Number.isNaN() ponyfill☆30May 2, 2024Updated 2 years ago
- Regular expression for matching reserved filename characters☆53Oct 7, 2026Updated 3 weeks ago
- Node.js path.dirname() ponyfill☆13Nov 13, 2021Updated 4 years ago
- Expand POSIX bracket expressions (character classes) in glob patterns.☆27Oct 4, 2021Updated 5 years ago
- Strip the final newline character from a string/buffer☆38Sep 18, 2026Updated last month
- Get the first path that exists on disk of multiple paths☆64Sep 18, 2026Updated last month
- Returns true if a value has the characteristics of a valid JavaScript descriptor. Works for data descriptors and accessor descriptors.☆12May 12, 2026Updated 5 months ago
- Get the user home directory with fallback to the system temp directory☆30Sep 18, 2026Updated last month
- Managed hosting for WordPress and PHP on Cloudways • AdManaged hosting for WordPress, Magento, Laravel, or PHP apps, on multiple cloud providers. Deploy in minutes on Cloudways by DigitalOcean.
- Return true if the file is (or the file path has) a dotfile.☆14May 30, 2017Updated 9 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
- Returns `true` if a file path appears to be relative. Moved from the "relative" lib.☆14May 6, 2018Updated 8 years ago
- Create an array with values that are present in the first input array but not additional ones☆40Sep 18, 2026Updated last month
- Check if a given module ID is resolvable with require()☆16Nov 30, 2018Updated 7 years ago
- Returns true if a string has an extglob☆23May 25, 2019Updated 7 years ago
- PostCSS helpers to throw or output GNU style messages☆10Jul 2, 2024Updated 2 years ago