chalk / wrap-ansiLinks
Wordwrap a string with ANSI escape codes
☆129Updated last month
Alternatives and similar repositories for wrap-ansi
Users that are interested in wrap-ansi are comparing it to the libraries listed below
Sorting:
- Toggle the CLI cursor☆112Updated last year
- Check if your package was installed globally☆69Updated last year
- Easily handle defaults for your options☆75Updated 2 years ago
- Check if argv has a specific flag☆94Updated 4 years ago
- Check if something is a Node.js stream☆113Updated 11 months ago
- Indent each line in a string☆113Updated 3 years ago
- Slice a string with ANSI escape codes☆50Updated last month
- Copy a file☆121Updated 2 months ago
- Check if a path is a file, directory, or symlink☆79Updated last year
- Convert a value to an array☆131Updated 3 years ago
- Check if a string matches the name of a Node.js builtin module☆61Updated 7 months ago
- Detect the dominant newline character of a string☆56Updated 2 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
- Exit the process when the `esc` key is pressed☆57Updated last year
- Get the first path that exists on disk of multiple paths☆60Updated last month
- Get the latest version of an npm package☆175Updated last year
- Truncate a string to a specific width in the terminal☆87Updated last month
- Check if your code is running as an npm or yarn script☆64Updated last month
- Reliably get the terminal window size☆144Updated last year
- A static list of the Node.js builtin modules from the latest Node.js version☆124Updated last month
- Strip leading whitespace from each line in a string☆142Updated last week
- Get a random temporary file path☆80Updated 2 years ago
- Convert an absolute path to tilde path: /Users/sindresorhus/dev => ~/dev☆95Updated 3 years ago
- Filter object keys and values into a new object☆104Updated last year
- Get your PATH prepended with locally installed binaries☆104Updated 11 months ago
- Strip redundant indentation and indent the string☆54Updated 4 years ago
- Write a package.json file☆89Updated last month
- Make a function mimic another one☆96Updated 11 months ago
- Check if the process is running with elevated privileges☆42Updated 4 years ago
- Get the directory of globally installed packages and binaries☆76Updated last year