sindresorhus / widest-lineLinks
Get the visual width of the widest line in a string - the number of columns required to display it
☆39Updated 2 years ago
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
- Get the first path that exists on disk of multiple paths☆62Updated 3 months ago
- Truncate a semver version: 1.2.3 → 1.2.0☆18Updated 3 years ago
- Transform the first chunk in a stream☆28Updated 2 years ago
- Check if a value is an object☆42Updated 4 years ago
- Strip redundant indentation and indent the string☆55Updated 4 years ago
- Prepend `https://` to humanized URLs like `sindresorhus.com` and `file://` to file paths☆25Updated 3 years ago
- Strip the final newline character from a string/buffer☆38Updated last year
- Check if a file path is a binary file☆49Updated last year
- Slice a string with ANSI escape codes☆50Updated 4 months ago
- Convert a file path to a file URL: `unicorn.jpg` → `file:///Users/sindresorhus/unicorn.jpg`☆63Updated last year
- Check if a path is a file, directory, or symlink☆80Updated last year
- Check if the character represented by a given Unicode code point is fullwidth☆51Updated 4 months ago
- Get the version of a binary in semver format☆42Updated last year
- Get the user home directory with fallback to the system temp directory☆30Updated 4 years ago
- Returns an array filled with the specified input☆43Updated 3 years ago
- Extract the article title of a HTML document☆56Updated 4 months ago
- Invert the key/value of an object. Example: {foo: 'bar'} → {bar: 'foo'}☆37Updated 3 years ago
- Split a string at one or more indices☆25Updated 4 years ago
- Create a MD5 hash with hex encoding☆47Updated 2 years ago
- Trim newlines from the start and/or end of a string☆49Updated 2 years ago
- Check if a value is a function☆29Updated 4 years ago
- Get the PATH environment variable key cross-platform☆46Updated 3 months ago
- Log the value/error of a promise☆29Updated 4 years ago
- Lowercase the keys of an object☆41Updated 2 years ago
- Strip UTF-8 byte order mark (BOM) from a buffer☆21Updated 2 years ago
- Wait for any promise to be fulfilled☆56Updated 3 years ago
- Check if argv has a specific flag☆96Updated 4 years ago
- Check if a number is in a given range☆22Updated 4 years ago
- Check if a Buffer/Uint8Array is a GIF image☆30Updated 3 years ago