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
- Check if a file path is a binary file☆44Updated 9 months ago
- Strip redundant indentation and indent the string☆54Updated 3 years ago
- Get the first path that exists on disk of multiple paths☆58Updated 2 years ago
- Detect the dominant newline character of a string☆55Updated last year
- Slice a string with ANSI escape codes☆47Updated 9 months ago
- Node.js 0.12 path.isAbsolute() ponyfill☆43Updated 4 years ago
- Invert the key/value of an object. Example: {foo: 'bar'} → {bar: 'foo'}☆36Updated 2 years ago
- Repeat a string - fast☆34Updated 3 years ago
- Returns an object with the base path and the actual pattern from a glob.☆17Updated 7 years ago
- set blocking stdio and stderr ensuring that terminal output does not truncate☆38Updated last year
- Strip the final newline character from a string/buffer☆36Updated 3 months ago
- Track the list of currently unhandled promise rejections☆24Updated 6 years ago
- Get the user home directory with fallback to the system temp directory☆30Updated 3 years ago
- Expands symbolic links and prints the resolved absolute filepath☆26Updated 9 months ago
- List of node.js builtin modules☆38Updated 10 months ago
- Check if a value is a function☆27Updated 3 years ago
- Prepend `https://` to humanized URLs like `sindresorhus.com` and `file://` to file paths☆24Updated 2 years ago
- The Node.js `util.deprecate()` function with browser support☆38Updated 6 years ago
- Turn an object into a string of HTML attributes☆49Updated last year
- Trim a consecutively repeated substring: foo--bar---baz → foo-bar-baz☆19Updated 2 years ago
- Read all the installed packages in a folder, and return a tree structure with all the data.