chalk / wrap-ansiLinks
Wordwrap a string with ANSI escape codes
☆128Updated 3 weeks ago
Alternatives and similar repositories for wrap-ansi
Users that are interested in wrap-ansi are comparing it to the libraries listed below
Sorting:
- Indent each line in a string☆113Updated 3 years ago
- Toggle the CLI cursor☆112Updated last year
- Detect the dominant newline character of a string☆55Updated 2 years ago
- Check if your package was installed globally☆70Updated last year
- Easily handle defaults for your options☆75Updated last year
- Strip leading whitespace from each line in a string☆142Updated 3 weeks ago
- Check if a path is a file, directory, or symlink☆78Updated last year
- Get the latest version of an npm package☆176Updated last year
- Slice a string with ANSI escape codes☆50Updated 3 weeks ago
- Convert a value to an array☆130Updated 3 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…☆95Updated 2 years ago
- Copy a file☆121Updated last month
- Check if argv has a specific flag☆93Updated 4 years ago
- Write a package.json file☆88Updated 3 weeks ago
- Check if a string matches the name of a Node.js builtin module☆61Updated 7 months ago
- Check if something is a Node.js stream☆112Updated 11 months ago
- Get a random temporary file path☆80Updated 2 years ago
- Convert a tilde path to an absolute path: ~/dev => /Users/sindresorhus/dev☆145Updated 3 weeks ago
- Get your PATH prepended with locally installed binaries☆105Updated 11 months ago
- Get the first path that exists on disk of multiple paths☆59Updated 2 weeks ago
- A static list of the Node.js builtin modules from the latest Node.js version☆124Updated 3 weeks ago
- Truncate a string to a specific width in the terminal☆87Updated 2 weeks ago
- Filter object keys and values into a new object☆104Updated last year
- Detect the indentation of code☆197Updated 2 weeks ago
- Get the directory of globally installed packages and binaries☆76Updated last year
- Exit the process when the `esc` key is pressed☆56Updated last year
- Reverse minimist. Convert an object of options into an array of command-line arguments☆184Updated 2 years ago
- Start a promise chain☆58Updated 2 weeks ago
- Check if your code is running as an npm or yarn script☆64Updated 3 weeks ago
- Strip redundant indentation and indent the string☆54Updated 4 years ago