chalk / has-ansiLinks
Check if a string has ANSI escape codes
☆50Updated 2 months ago
Alternatives and similar repositories for has-ansi
Users that are interested in has-ansi are comparing it to the libraries listed below
Sorting:
- Slice a string with ANSI escape codes☆50Updated 2 months ago
- Get the first path that exists on disk of multiple paths☆62Updated 2 months ago
- Regular expression for matching a shebang line☆48Updated 4 years ago
- Strip ANSI escape codes☆39Updated 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
- Get the user home directory with fallback to the system temp directory☆30Updated 4 years ago
- Node.js 0.12 path.isAbsolute() ponyfill☆43Updated 4 years ago
- List of binary file extensions☆89Updated 7 months ago
- Strip redundant indentation and indent the string☆55Updated 4 years ago
- Emulate console for all the browsers☆33Updated 11 months ago
- Lowercase the keys of an object☆41Updated 2 years ago
- Returns an array filled with the specified input☆43Updated 3 years ago
- Bash-like tilde expansion for node.js. Expands a leading tilde in a file path to the user home directory, or `~+` to the cwd.☆24Updated 3 years ago
- POSIX character classes for creating regular expressions.☆30Updated 4 years ago
- Check if a file path is a binary file☆49Updated last year
- Check if a value is a function☆29Updated 4 years ago
- Expand POSIX bracket expressions (character classes) in glob patterns.☆27Updated 4 years ago
- Trim a consecutively repeated substring: foo--bar---baz → foo-bar-baz☆20Updated 3 years ago
- Reliably get the terminal window size - cross-platform☆26Updated 2 years ago
- Get all emails in a text file or stdin☆25Updated 4 years ago
- Strip the final newline character from a string/buffer☆37Updated last year
- Get the user's default shell☆41Updated 2 months ago
- List of archive file extensions☆16Updated last year
- Check if a file is executable☆29Updated 7 years ago
- Use node's fs.realpath, but fall back to the JS implementation if the native one fails☆25Updated last month
- Returns true if a filepath is absolute. The original path-is-absolute.☆22Updated 8 years ago
- Minimal module to check if a file is executable.☆49Updated last month
- Invert the key/value of an object. Example: {foo: 'bar'} → {bar: 'foo'}☆37Updated 3 years ago
- Convert matching single-quotes to double-quotes: `I 'love' unicorns` → `I "love" unicorns`☆24Updated 3 years ago
- Expands symbolic links and prints the resolved absolute filepath☆27Updated last year