sindresorhus / widest-line
Get the visual width of the widest line in a string - the number of columns required to display it
☆37Updated last year
Alternatives and similar repositories for widest-line:
Users that are interested in widest-line are comparing it to the libraries listed below
- Strip redundant indentation and indent the string☆54Updated 3 years ago
- Check if a file path is a binary file☆44Updated 11 months ago
- Truncate a semver version: 1.2.3 → 1.2.0☆17Updated 2 years ago
- Strip the final newline character from a string/buffer☆36Updated 5 months ago
- Node.js 0.12 path.isAbsolute() ponyfill☆43Updated 4 years ago
- Find semver versions in a string: `unicorn v1.2.3` → `1.2.3`☆45Updated last year
- Transform the first chunk in a stream☆26Updated last year
- Sort an array of numbers☆16Updated 2 months ago
- Prepend `https://` to humanized URLs like `sindresorhus.com` and `file://` to file paths☆24Updated 2 years ago
- Get the user agent of a recent Chrome version to pretend to be a browser in network requests☆36Updated last year
- Detect the dominant newline character of a string☆55Updated last year
- Get the user home directory with fallback to the system temp directory☆30Updated 4 years ago
- The Node.js `util.deprecate()` function with browser support☆38Updated 6 years ago
- Check if a number is a redirect HTTP status code☆23Updated 4 years ago
- Repeat a string - fast☆34Updated 3 years ago
- Get the first path that exists on disk of multiple paths☆58Updated 2 years ago
- set blocking stdio and stderr ensuring that terminal output does not truncate☆38Updated last year
- Create a Vinyl file from an actual file☆41Updated 2 years ago
- Returns an array filled with the specified input☆42Updated 2 years ago
- Check if a value is a function☆27Updated 3 years ago
- Returns the directory used by NPM for globally installed NPM packages.☆35Updated 6 years ago
- Iterate over promises serially☆50Updated 2 years ago
- Check if a file path is a compressed file☆17Updated 11 months ago
- Expands symbolic links and prints the resolved absolute filepath☆26Updated 11 months ago
- Check if a path is the current working directory☆19Updated 3 years ago
- ES2015 Number.isNaN() ponyfill☆28Updated 11 months ago
- Convert a time string to seconds: '0017' → 1337☆35Updated 3 years ago
- Extract the article title of a HTML document☆54Updated 3 years ago
- Get an array of parent directories including itself☆27Updated last year
- List of node.js builtin modules☆38Updated last year