chalk / wrap-ansi
Wordwrap a string with ANSI escape codes
☆124Updated last year
Alternatives and similar repositories for wrap-ansi
Users that are interested in wrap-ansi are comparing it to the libraries listed below
Sorting:
- Detect the dominant newline character of a string☆55Updated last year
- Truncate a string to a specific width in the terminal☆87Updated last year
- Indent each line in a string☆113Updated 2 years ago
- Slice a string with ANSI escape codes☆47Updated 11 months ago
- Easily handle defaults for your options☆74Updated last year
- Check if your package was installed globally☆70Updated last year
- Check if something is a Node.js stream☆112Updated 6 months ago
- Ponyfill for Error#captureStackTrace☆61Updated 2 years ago
- Check if a string matches the name of a Node.js builtin module☆59Updated 2 months ago
- Toggle the CLI cursor☆108Updated 9 months ago
- Write a package.json file☆88Updated 9 months ago
- Filter object keys and values into a new object☆101Updated 11 months ago
- Check if argv has a specific flag☆95Updated 3 years ago
- Check if a path is a file, directory, or symlink☆78Updated 9 months ago
- normalizes package metadata, typically found in package.json file.☆200Updated last month
- Parse HTTP X-Forwarded-For header☆57Updated 2 months ago
- Read a package.json file☆165Updated last year
- Get a random temporary file path☆80Updated 2 years ago
- Get the visual width of the widest line in a string - the number of columns required to display it☆37Updated last year
- A static list of the Node.js builtin modules from the latest Node.js version☆122Updated 2 months ago
- Strip redundant indentation and indent the string☆54Updated 4 years ago
- Copy a file☆120Updated last year
- Reliably get the terminal window size☆140Updated last year
- Get the path of the caller module☆64Updated 3 years ago
- Start a promise chain☆58Updated 3 years ago
- Get the latest version of an npm package☆176Updated last year
- Get the first path that exists on disk of multiple paths☆58Updated 2 years ago
- Nested/recursive `.gitignore`/`.npmignore` parsing and filtering.☆62Updated 2 weeks ago
- Ensures a value is a valid error by making it one if not☆77Updated 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…☆93Updated 2 years ago