chalk / wrap-ansi
Wordwrap a string with ANSI escape codes
☆120Updated last year
Alternatives and similar repositories for wrap-ansi:
Users that are interested in wrap-ansi are comparing it to the libraries listed below
- Check if your package was installed globally☆70Updated last year
- Slice a string with ANSI escape codes☆47Updated 8 months ago
- Check if something is a Node.js stream☆110Updated 3 months ago
- Easily handle defaults for your options☆73Updated last year
- Detect the dominant newline character of a string☆55Updated 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…☆91Updated 2 years ago
- Check if argv has a specific flag☆94Updated 3 years ago
- Toggle the CLI cursor☆106Updated 6 months ago
- Truncate a string to a specific width in the terminal☆86Updated last year
- Ponyfill for Error#captureStackTrace☆61Updated 2 years ago
- Check if a path is a file, directory, or symlink☆78Updated 6 months ago
- Start a promise chain☆58Updated 3 years ago
- Strip leading whitespace from each line in a string☆136Updated 3 years ago
- Write a package.json file☆89Updated 6 months ago
- Get the first path that exists on disk of multiple paths☆58Updated last year
- Indent each line in a string☆113Updated 2 years ago
- Get the directory of globally installed packages and binaries☆75Updated last year
- Convert a value to an array☆130Updated 3 years ago
- Get a random temporary file path☆79Updated last year
- Parse `.git/config` into a JavaScript object. sync or async.☆61Updated 6 years ago
- A static list of the Node.js builtin modules from the latest Node.js version☆120Updated 9 months ago
- Reliably get the terminal window size☆141Updated last year
- Strip redundant indentation and indent the string☆54Updated 3 years ago
- Easy error subclassing and stack customization☆66Updated 4 years ago
- Check if a file path is a binary file☆44Updated 9 months ago
- Convert an absolute path to tilde path: /Users/sindresorhus/dev => ~/dev☆93Updated 2 years ago
- Check if a string is a valid filename☆61Updated 3 years ago
- Check if a string matches the name of a Node.js builtin module☆58Updated 9 months ago
- Lazy number range generator☆82Updated last year
- Get the path of the caller module☆64Updated 3 years ago