sindresorhus / string-widthLinks
Get the visual width of a string - the number of columns required to display it
β504Updated 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:
- Find a file or directory by walking up parent directoriesβ624Updated 2 weeks ago
- π node-ignore is the manager and filter for .gitignore rules, the one used by eslint, prettier and many others.β486Updated 4 months ago
- Get the real length of a string - by correctly counting astral symbols and ignoring ansi escape codesβ167Updated last year
- easily create complex multi-column command-line-interfaces.β379Updated last month
- Find the root directory of a Node.js project or npm packageβ246Updated 3 months ago
- Get a random temporary file or directory pathβ436Updated 2 years ago
- the mighty option parser used by yargsβ517Updated last month
- encode & decode HTML & XML entities with ease & speedβ359Updated last week
- Strip ANSI escape codes from a stringβ421Updated 3 weeks ago
- Like which(1) unix command. Find the first instance of an executable in the PATH.β342Updated 2 weeks ago
- Convert a camelized string into a lowercased one with a custom separator: unicornRainbow β unicorn_rainbowβ241Updated last month
- Pretty-print a javascript object as a treeβ252Updated 11 months ago
- Virtual file format for text processing used in @unifiedjsβ519Updated 8 months ago
- Get metadata of a package from the npm registryβ243Updated last year
- Pretty unicode tables for the command lineβ581Updated 10 months ago
- Measure the difference between two strings with the fastest JS implementation of the Levenshtein distance algorithmβ729Updated 3 weeks ago
- Convert Windows backslash paths to slash pathsβ336Updated 2 years ago
- node byte string parserβ472Updated last year
- Delay a promise a specified amount of timeβ622Updated 2 years ago
- Parse JSON with more helpful errorsβ369Updated 5 months ago
- Is the given string an acceptable npm package name?β303Updated 2 weeks ago
- Simple βLeast Recently Usedβ (LRU) cacheβ724Updated 2 weeks ago
- ANSI escape codes for manipulating the terminalβ527Updated last week
- Copy filesβ431Updated last month
- Get a stream as a string, Buffer, ArrayBuffer or arrayβ353Updated 11 months ago
- Create and parse HTTP Content-Disposition headerβ235Updated this week
- Strip comments from JSON. Lets you use comments in your JSON files!β615Updated last month
- Convert a string to a valid safe filenameβ504Updated 2 weeks ago
- Detect the image type of a Buffer/Uint8Arrayβ412Updated 4 months ago
- Matches strings against configurable strings, globs, regular expressions, and/or functionsβ401Updated 2 years ago