chalk / wrap-ansiLinks
Wordwrap a string with ANSI escape codes
☆127Updated last year
Alternatives and similar repositories for wrap-ansi
Users that are interested in wrap-ansi are comparing it to the libraries listed below
Sorting:
- Check if your package was installed globally☆70Updated last year
- Check if argv has a specific flag☆93Updated 4 years ago
- Indent each line in a string☆113Updated 3 years ago
- Easily handle defaults for your options☆75Updated last year
- Toggle the CLI cursor☆111Updated last year
- Detect the dominant newline character of a string☆55Updated last year
- Check if a path is a file, directory, or symlink☆78Updated last year
- Get your PATH prepended with locally installed binaries☆105Updated 9 months ago
- Check if something is a Node.js stream☆112Updated 9 months ago
- Slice a string with ANSI escape codes☆50Updated last year
- A static list of the Node.js builtin modules from the latest Node.js version☆123Updated 5 months ago
- Check if your code is running as an npm or yarn script☆65Updated 3 years ago
- Convert a value to an array☆129Updated 3 years ago
- Truncate a string to a specific width in the terminal☆87Updated last year
- Write a package.json file☆88Updated last year
- If you use globs, this will make your code faster. Returns `true` if the given string looks like a glob pattern or an extglob pattern. Th…☆95Updated 2 years ago
- Ponyfill for Error#captureStackTrace☆61Updated 2 years ago
- Get the latest version of an npm package☆176Updated last year
- Filter object keys and values into a new object☆103Updated last year
- Get a random temporary file path☆80Updated 2 years ago
- Get the directory of globally installed packages and binaries☆76Updated last year
- Get the first path that exists on disk of multiple paths☆59Updated 2 years ago
- Invert the key/value of an object. Example: {foo: 'bar'} → {bar: 'foo'}☆37Updated 3 years ago
- Reliably get the terminal window size☆143Updated last year
- Strip leading whitespace from each line in a string☆137Updated 3 years ago
- Copy a file☆121Updated last week
- Check if a string is a valid filename☆62Updated 4 years ago
- Exit the process when the `esc` key is pressed☆56Updated last year
- Check if a string matches the name of a Node.js builtin module☆59Updated 5 months ago
- Strip UTF-8 byte order mark (BOM) from a string☆111Updated 4 years ago