sindresorhus / widest-lineLinks
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
Sorting:
- Check if a file path is a binary file☆46Updated last year
- Strip redundant indentation and indent the string☆54Updated 4 years ago
- Prepend `https://` to humanized URLs like `sindresorhus.com` and `file://` to file paths☆24Updated 3 years ago
- Detect the dominant newline character of a string☆55Updated last year
- Get the first path that exists on disk of multiple paths☆59Updated 2 years ago
- ES2015 Number.isNaN() ponyfill☆28Updated last year
- Transform the first chunk in a stream☆26Updated last year
- Lowercase the keys of an object☆40Updated 2 years ago
- Truncate a semver version: 1.2.3 → 1.2.0☆17Updated 3 years ago
- Create an array with values that are present in the first input array but not additional ones☆38Updated 3 years ago
- Check if a number is a redirect HTTP status code☆23Updated 4 years ago
- Convert a file path to a file URL: `unicorn.jpg` → `file:///Users/sindresorhus/unicorn.jpg`☆61Updated last year
- Check if the character represented by a given Unicode code point is fullwidth☆49Updated last year
- Extract the article title of a HTML document☆55Updated 3 years ago
- [DEPRECATED] Node.js os.tmpdir() ponyfill☆35Updated 4 years ago
- Get the user home directory with fallback to the system temp directory☆30Updated 4 years ago
- Modify the values of an object☆27Updated 3 years ago
- Check if a path is a file, directory, or symlink☆78Updated 11 months ago
- Check if a value is an object☆40Updated 4 years ago
- Strip UTF-8 byte order mark (BOM) from a buffer☆19Updated last year
- Node.js 0.12 path.isAbsolute() ponyfill☆43Updated 4 years ago
- Check if a number is in a given range☆21Updated 4 years ago
- Find semver versions in a string: `unicorn v1.2.3` → `1.2.3`☆45Updated last year
- Returns an array filled with the specified input☆42Updated 3 years ago
- Strip the final newline character from a string/buffer☆36Updated 8 months ago
- Repeat a string - fast☆34Updated 4 years ago
- The Node.js `util.deprecate()` function with browser support☆38Updated 6 years ago
- Modify the filename in a path☆16Updated 3 years ago
- Get the version of a binary in semver format☆42Updated last year
- Create a Vinyl file from an actual file☆41Updated 2 years ago