sindresorhus / string-widthLinks
Get the visual width of a string - the number of columns required to display it
☆505Updated last month
Alternatives and similar repositories for string-width
Users that are interested in string-width are comparing it to the libraries listed below
Sorting:
- Get the real length of a string - by correctly counting astral symbols and ignoring ansi escape codes☆167Updated last year
- Find a file or directory by walking up parent directories☆624Updated last month
- easily create complex multi-column command-line-interfaces.☆380Updated 2 months ago
- 🔍 node-ignore is the manager and filter for .gitignore rules, the one used by eslint, prettier and many others.☆487Updated 4 months ago
- Get a random temporary file or directory path☆435Updated 2 years ago
- the mighty option parser used by yargs☆516Updated 2 months ago
- Find the root directory of a Node.js project or npm package☆246Updated 4 months ago
- Strip ANSI escape codes from a string☆421Updated last month
- Virtual file format for text processing used in @unifiedjs☆520Updated 8 months ago
- Pretty-print a javascript object as a tree☆252Updated last year
- encode & decode HTML & XML entities with ease & speed☆363Updated last week
- Convert Windows backslash paths to slash paths☆337Updated 2 years ago
- Like which(1) unix command. Find the first instance of an executable in the PATH.☆343Updated last week
- Copy files☆432Updated this week
- Measure the difference between two strings with the fastest JS implementation of the Levenshtein distance algorithm☆729Updated last month
- Pretty unicode tables for the command line☆586Updated 11 months ago
- Delay a promise a specified amount of time☆623Updated 2 years ago
- Parse JSON with more helpful errors☆368Updated 6 months ago
- Convert a camelized string into a lowercased one with a custom separator: unicornRainbow → unicorn_rainbow☆241Updated 2 months ago
- Is the given string an acceptable npm package name?☆303Updated last week
- Get a stream as a string, Buffer, ArrayBuffer or array☆355Updated 11 months ago
- Get metadata of a package from the npm registry☆243Updated last year
- Convert a dash/dot/underscore/space separated string to camelCase: foo-bar → fooBar☆695Updated 2 years ago
- Strip comments from JSON. Lets you use comments in your JSON files!☆617Updated 2 months ago
- Handler for htmlparser2, to get a DOM☆356Updated this week
- npm fetcher☆379Updated last month
- Simple “Least Recently Used” (LRU) cache☆735Updated 2 weeks ago
- ANSI escape codes for manipulating the terminal☆527Updated last month
- node byte string parser☆472Updated last year
- Create and parse HTTP Content-Disposition header☆235Updated 3 weeks ago