sindresorhus / widest-line
Get the visual width of the widest line in a string - the number of columns required to display it
☆36Updated last year
Related projects ⓘ
Alternatives and complementary repositories for widest-line
- Strip redundant indentation and indent the string☆54Updated 3 years ago
- Check if a file path is a binary file☆42Updated 6 months ago
- Get the first path that exists on disk of multiple paths☆58Updated last year
- Repeat a string - fast☆34Updated 3 years ago
- Track the list of currently unhandled promise rejections☆24Updated 5 years ago
- Lowercase the keys of an object☆40Updated last year
- Node.js 0.12 path.isAbsolute() ponyfill☆43Updated 3 years ago
- Expands symbolic links and prints the resolved absolute filepath☆25Updated 6 months ago
- Sort an array of numbers☆16Updated 3 years ago
- Strip the final newline character from a string/buffer☆33Updated last week
- Strip UTF-8 byte order mark (BOM) from a buffer☆19Updated last year
- The Node.js `util.deprecate()` function with browser support☆38Updated 5 years ago
- Truncate a semver version: 1.2.3 → 1.2.0☆17Updated 2 years ago
- Transform the first chunk in a stream☆27Updated last year
- Check if a value is an error constructor☆13Updated 3 years ago
- Give me a string and I'll tell you if it's a valid npm package license string☆24Updated 3 years ago
- Returns an array filled with the specified input☆43Updated 2 years ago
- ES2015 Number.isNaN() ponyfill☆28Updated 6 months ago
- Detect the dominant newline character of a string☆55Updated last year
- Prepend `https://` to humanized URLs like `sindresorhus.com` and `file://` to file paths☆24Updated 2 years ago
- Slice a string with ANSI escape codes☆47Updated 5 months ago
- List of node.js builtin modules☆38Updated 7 months ago
- Modify the values of an object☆28Updated 3 years ago
- ES2015 Number.isFinite() ponyfill☆19Updated 3 years ago
- Gracefully restore the CLI cursor on exit☆35Updated 3 months ago
- Use node's fs.realpath, but fall back to the JS implementation if the native one fails☆26Updated last year
- set blocking stdio and stderr ensuring that terminal output does not truncate☆37Updated 10 months ago
- Check if a number is a redirect HTTP status code☆23Updated 3 years ago
- Check if a value is a function☆27Updated 3 years ago
- Simple `setImmediate` shim☆28Updated 7 months ago