sindresorhus / string-widthLinks
Get the visual width of a string - the number of columns required to display it
☆513Updated 3 months ago
Alternatives and similar repositories for string-width
Users that are interested in string-width are comparing it to the libraries listed below
Sorting:
- Find a file or directory by walking up parent directories☆630Updated 3 months ago
- Get the real length of a string - by correctly counting astral symbols and ignoring ansi escape codes☆169Updated last year
- easily create complex multi-column command-line-interfaces.☆383Updated last week
- 🔍 node-ignore is the manager and filter for .gitignore rules, the one used by eslint, prettier and many others.☆488Updated 6 months ago
- Get a random temporary file or directory path☆441Updated 2 years ago
- the mighty option parser used by yargs☆520Updated last week
- encode & decode HTML & XML entities with ease & speed☆367Updated last week
- Find the root directory of a Node.js project or npm package☆250Updated 6 months ago
- Convert a camelized string into a lowercased one with a custom separator: unicornRainbow → unicorn_rainbow☆243Updated 4 months ago
- Virtual file format for text processing used in @unifiedjs☆521Updated 10 months ago
- Measure the difference between two strings with the fastest JS implementation of the Levenshtein distance algorithm☆733Updated 3 months ago
- Pretty unicode tables for the command line☆596Updated last year
- Copy files☆436Updated 2 months ago
- Simple “Least Recently Used” (LRU) cache☆745Updated 2 months ago
- Create and parse HTTP Content-Disposition header☆237Updated last week
- Pretty-print a javascript object as a tree☆256Updated last year
- Parse JSON with more helpful errors☆371Updated 8 months ago
- node byte string parser☆476Updated last year
- Get a stream as a string, Buffer, ArrayBuffer or array☆358Updated last year
- Convert a string to a valid safe filename☆512Updated last month
- Strip ANSI escape codes from a string☆430Updated 3 months ago
- Delay a promise a specified amount of time☆627Updated last month
- Like which(1) unix command. Find the first instance of an executable in the PATH.☆345Updated 2 weeks ago
- Convert a dash/dot/underscore/space separated string to camelCase: foo-bar → fooBar☆697Updated last month
- Strip comments from JSON. Lets you use comments in your JSON files!☆621Updated 4 months ago
- Get metadata of a package from the npm registry☆245Updated last year
- Get the native JavaScript type of a value, fast. Used by superstruct, micromatch and many others!☆355Updated last year
- npm fetcher☆382Updated last month
- Memoize promise-returning & async functions☆433Updated 2 months ago
- Handler for htmlparser2, to get a DOM☆359Updated this week