sindresorhus / string-lengthLinks
Get the real length of a string - by correctly counting astral symbols and ignoring ansi escape codes
☆170Updated 2 weeks ago
Alternatives and similar repositories for string-length
Users that are interested in string-length are comparing it to the libraries listed below
Sorting:
- Get the visual width of a string - the number of columns required to display it☆520Updated last week
- Detect the indentation of code☆200Updated this week
- Normalize file path slashes to be unix-like forward slashes. Used by chokidar, anymatch, and many others!☆112Updated 3 years ago
- Wordwrap a string with ANSI escape codes☆131Updated 5 months ago
- Find the closest package.json file☆166Updated 8 months ago
- Find the root directory of a Node.js project or npm package☆250Updated last week
- Finds the common standard cache directory☆161Updated 10 months ago
- Get metadata of a package from the npm registry☆247Updated last year
- Read the closest package.json file☆268Updated 3 months ago
- Sort the keys of an object☆108Updated 5 months ago
- Get the latest version of an npm package☆176Updated last year
- Check if your package was installed globally☆71Updated 2 years ago
- Convert a camelized string into a lowercased one with a custom separator: unicornRainbow → unicorn_rainbow☆243Updated 5 months ago
- Read a package.json file☆175Updated 3 months ago
- Convert a tilde path to an absolute path: ~/dev => /Users/sindresorhus/dev☆148Updated 4 months ago
- Detects if a file is binary in Node.js. Similar to Perl's -B☆171Updated last month
- Toggle the CLI cursor☆113Updated last year
- Simple benchmark for diffrent htmlparsers using real-life data☆103Updated this week
- Strip leading whitespace from each line in a string☆145Updated 3 months ago
- ESLint plugin about ECMAScript syntactic features.☆110Updated 4 years ago
- A static list of the Node.js builtin modules from the latest Node.js version☆125Updated 4 months ago
- Faster brace expansion for node.js. Besides being faster, braces is not subject to DoS attacks like minimatch, is more accurate, and has …☆244Updated last year
- normalizes package metadata, typically found in package.json file.☆204Updated 2 weeks ago
- Like which(1) unix command. Find the first instance of an executable in the PATH.☆349Updated 3 weeks ago
- Generate a markdown (GFM) table☆294Updated last year
- Get a stream as a string, Buffer, ArrayBuffer or array☆358Updated last year
- Walk through a folder and figure out what goes in an npm package☆116Updated 3 weeks ago
- Check if a value is a plain object☆104Updated last year
- Monorepo for NodeLib libraries☆77Updated last year
- Check if a string or buffer is SVG☆143Updated 7 months ago