chalk / wrap-ansi
Wordwrap a string with ANSI escape codes
☆123Updated last year
Alternatives and similar repositories for wrap-ansi:
Users that are interested in wrap-ansi are comparing it to the libraries listed below
- Toggle the CLI cursor☆107Updated 8 months ago
- Easily handle defaults for your options☆74Updated last year
- Check if your package was installed globally☆70Updated last year
- Check if a path is a file, directory, or symlink☆78Updated 8 months ago
- Slice a string with ANSI escape codes☆47Updated 11 months ago
- Write a package.json file☆88Updated 8 months ago
- Truncate a string to a specific width in the terminal☆87Updated last year
- Detect the dominant newline character of a string☆55Updated last year
- Read a package.json file☆165Updated last year
- Ponyfill for Error#captureStackTrace☆61Updated 2 years ago
- Check if something is a Node.js stream☆110Updated 5 months ago
- Check if argv has a specific flag☆95Updated 3 years ago
- Indent each line in a string☆113Updated 2 years ago
- Filter object keys and values into a new object☆101Updated 10 months ago
- Parse `.git/config` into a JavaScript object. sync or async.☆61Updated 6 years ago
- Get a random temporary file path☆79Updated 2 years ago
- Start a promise chain☆58Updated 3 years ago
- Exit the process when the `esc` key is pressed☆56Updated last year
- Check if a file path is a binary file☆44Updated 11 months ago
- Check if a path exists☆151Updated 3 years ago
- Get the first path that exists on disk of multiple paths☆58Updated 2 years ago
- Parse HTTP X-Forwarded-For header☆57Updated 2 months ago
- Convert a value to an array☆129Updated 3 years ago
- Strip redundant indentation and indent the string☆54Updated 3 years ago
- Invert the key/value of an object. Example: {foo: 'bar'} → {bar: 'foo'}☆37Updated 3 years ago
- Get your PATH prepended with locally installed binaries☆104Updated 5 months ago
- Resolve the path of a module like `require.resolve()` but from the current working directory☆68Updated 4 years ago
- 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…☆92Updated 2 years ago
- Reliably get the terminal window size☆141Updated last year
- Get the latest version of an npm package☆176Updated last year