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:
- Strip redundant indentation and indent the string☆54Updated 4 years ago
- Detect the dominant newline character of a string☆55Updated last year
- Check if a file path is a binary file☆44Updated last year
- Invert the key/value of an object. Example: {foo: 'bar'} → {bar: 'foo'}☆37Updated 3 years ago
- Truncate a semver version: 1.2.3 → 1.2.0☆17Updated 2 years ago
- Prepend `https://` to humanized URLs like `sindresorhus.com` and `file://` to file paths☆24Updated 2 years ago
- Node.js 0.12 path.isAbsolute() ponyfill☆43Updated 4 years ago
- Get the first path that exists on disk of multiple paths☆58Updated 2 years ago
- Expands symbolic links and prints the resolved absolute filepath☆26Updated last year
- Get the user agent of a recent Chrome version to pretend to be a browser in network requests☆36Updated last year
- A module which will endeavor to guess your terminal's level of color support.☆24Updated 6 years ago
- Track the list of currently unhandled promise rejections☆24Updated 6 years ago
- Convert directories to glob compatible strings☆44Updated 5 years ago
- Get the version of a binary in semver format☆42Updated last year
- The Node.js `util.deprecate()` function with browser support☆38Updated 6 years ago
- Check if a number is in a given range☆21Updated 4 years ago
- Turn an object into a string of HTML attributes☆49Updated 2 years ago
- Create a MD5 hash with hex encoding☆45Updated last year
- Create a Vinyl file from an actual file☆41Updated 2 years ago
- Strip the final newline character from a string/buffer☆36Updated 7 months ago
- Transform the first chunk in a stream☆26Updated last year
- Trim a consecutively repeated substring: foo--bar---baz → foo-bar-baz☆19Updated 2 years ago
- A list of directories you should ignore by default☆23Updated 3 years ago
- Iterate over promises serially☆50Updated 2 years ago
- Lowercase the keys of an object☆40Updated last year
- Slice a string with ANSI escape codes☆47Updated last year
- A better `Promise.race()`☆46Updated 2 years ago
- Break out of a promise chain☆23Updated 4 years ago
- Check if a file path is a compressed file☆17Updated last year
- Create a javascript regular expression for matching everything except for the given string.☆31Updated 7 years ago