sindresorhus / widest-lineLinks
Get the visual width of the widest line in a string - the number of columns required to display it
☆40Updated last week
Alternatives and similar repositories for widest-line
Users that are interested in widest-line are comparing it to the libraries listed below
Sorting:
- Detect the dominant newline character of a string☆56Updated 2 years ago
- Strip redundant indentation and indent the string☆55Updated 4 years ago
- Get the first path that exists on disk of multiple paths☆62Updated 4 months ago
- Check if a file path is a binary file☆49Updated last year
- Check if a path is a file, directory, or symlink☆80Updated last year
- Truncate a semver version: 1.2.3 → 1.2.0☆18Updated 3 years ago
- Get the version of a binary in semver format☆42Updated last year
- Prepend `https://` to humanized URLs like `sindresorhus.com` and `file://` to file paths☆25Updated 3 years ago
- Split a string at one or more indices☆25Updated 4 years ago
- Convert a file path to a file URL: `unicorn.jpg` → `file:///Users/sindresorhus/unicorn.jpg`☆63Updated last year
- Check if argv has a specific flag☆96Updated 4 years ago
- Get the user agent of a recent Chrome version to pretend to be a browser in network requests☆37Updated 2 years ago
- Modify the values of an object☆29Updated 4 years ago
- Check if a value is an object☆42Updated 4 years ago
- ES2015 Number.isNaN() ponyfill☆29Updated last year
- Create a MD5 hash with hex encoding☆48Updated 2 years ago
- Transform the first chunk in a stream☆28Updated 2 years ago
- Get the directory of globally installed packages and binaries☆77Updated 2 years ago
- Check if the character represented by a given Unicode code point is fullwidth☆51Updated 5 months ago
- Node.js 0.12 path.isAbsolute() ponyfill☆43Updated 5 years ago
- Check if a value is a function☆29Updated 4 years ago
- Trim a consecutively repeated substring: foo--bar---baz → foo-bar-baz☆20Updated 3 years ago
- Returns an array filled with the specified input☆43Updated 3 years ago
- Strip UTF-8 byte order mark (BOM) from a buffer☆21Updated 2 years ago
- Extract the article title of a HTML document☆56Updated 4 months ago
- Convert directories to glob compatible strings☆44Updated 6 years ago
- Strip the final newline character from a string/buffer☆38Updated last year
- Find semver versions in a string: `unicorn v1.2.3` → `1.2.3`☆46Updated last year
- Turn an object into a string of HTML attributes☆50Updated 2 years ago
- Clone and modify a RegExp instance☆24Updated 3 years ago