chalk / wrap-ansiLinks
Wordwrap a string with ANSI escape codes
☆130Updated 2 months ago
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 2 years ago
- Detect the dominant newline character of a string☆56Updated 2 years ago
- Copy a file☆121Updated 3 months ago
- Get the latest version of an npm package☆175Updated last year
- Check if a path is a file, directory, or symlink☆79Updated last year
- Indent each line in a string☆113Updated 3 years ago
- Strip leading whitespace from each line in a string☆143Updated last month
- Easily handle defaults for your options☆75Updated 2 years ago
- Check if argv has a specific flag☆94Updated 4 years ago
- Convert a value to an array☆131Updated 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…☆96Updated 2 years ago
- Filter object keys and values into a new object☆104Updated last year
- Check if something is a Node.js stream☆114Updated last year
- Get your PATH prepended with locally installed binaries☆105Updated last year
- A static list of the Node.js builtin modules from the latest Node.js version☆124Updated 2 months ago
- Truncate a string to a specific width in the terminal☆87Updated 3 weeks ago
- Check if a string matches the name of a Node.js builtin module☆61Updated 8 months ago
- Slice a string with ANSI escape codes☆50Updated 2 months ago
- Get an unused filename by appending a number if it exists: `file.txt` → `file (1).txt`☆143Updated 2 months ago
- Detect the indentation of code☆197Updated last month
- Check if your code is running as an npm or yarn script☆64Updated 2 months ago
- Invert the key/value of an object. Example: {foo: 'bar'} → {bar: 'foo'}☆37Updated 3 years ago
- Get a random temporary file path☆80Updated 2 years ago
- Write a package.json file☆89Updated 2 months ago
- Check if a process is running☆60Updated 4 years ago
- Reliably get the terminal window size☆144Updated 2 years ago
- Get the directory of globally installed packages and binaries☆76Updated 2 years ago
- Ponyfill for Error#captureStackTrace☆61Updated 3 years ago
- normalizes package metadata, typically found in package.json file.☆203Updated 2 weeks ago