chalk / slice-ansiLinks
Slice a string with ANSI escape codes
☆50Updated 2 months ago
Alternatives and similar repositories for slice-ansi
Users that are interested in slice-ansi are comparing it to the libraries listed below
Sorting:
- Strip redundant indentation and indent the string☆54Updated 4 years ago
- Get the first path that exists on disk of multiple paths☆60Updated last month
- Check if a path is a file, directory, or symlink☆79Updated last year
- Get the user home directory with fallback to the system temp directory☆30Updated 4 years ago
- Regular expression for matching a shebang line☆47Updated 4 years ago
- Check if the character represented by a given Unicode code point is fullwidth☆49Updated 2 months ago
- Check if a file path is a binary file☆48Updated last year
- Check if argv has a specific flag☆94Updated 4 years ago
- Node.js 0.12 path.isAbsolute() ponyfill☆43Updated 4 years ago
- Get the visual width of the widest line in a string - the number of columns required to display it☆39Updated 2 years ago
- Decompress a HTTP response if needed☆74Updated 3 weeks ago
- Strip the final newline character from a string/buffer☆36Updated last year
- Create an array with values that are present in the first input array but not additional ones☆40Updated 4 years ago
- Repeat a string - fast☆35Updated 4 years ago
- Wordwrap a string with ANSI escape codes☆130Updated 2 months ago
- Invert the key/value of an object. Example: {foo: 'bar'} → {bar: 'foo'}☆37Updated 3 years ago
- ES2015 Number.isNaN() ponyfill☆28Updated last year
- Convert a file path to a file URL: `unicorn.jpg` → `file:///Users/sindresorhus/unicorn.jpg`☆62Updated last year
- A module which will endeavor to guess your terminal's level of color support.☆23Updated 7 years ago
- Check if a string matches the name of a Node.js builtin module☆61Updated 8 months ago
- Detect the dominant newline character of a string☆56Updated 2 years ago
- Turn an object into a string of HTML attributes☆49Updated 2 years ago
- Lowercase the keys of an object☆40Updated 2 years ago
- Check if a path is inside another path☆39Updated 2 months ago
- Trim newlines from the start and/or end of a string☆49Updated 2 years ago
- Indent each line in a string☆113Updated 3 years ago
- Center-align the text in a string.☆23Updated 8 years ago
- Track the list of currently unhandled promise rejections☆24Updated 6 years ago
- Get the directory of globally installed packages and binaries☆76Updated 2 years ago
- Create an array without duplicates☆73Updated 4 years ago