chalk / has-ansiLinks
Check if a string has ANSI escape codes
☆50Updated last month
Alternatives and similar repositories for has-ansi
Users that are interested in has-ansi are comparing it to the libraries listed below
Sorting:
- Get the first path that exists on disk of multiple paths☆60Updated last month
- Slice a string with ANSI escape codes☆50Updated last month
- Regular expression for matching a shebang line☆47Updated 4 years ago
- Strip redundant indentation and indent the string☆54Updated 4 years ago
- Get the user home directory with fallback to the system temp directory☆30Updated 4 years ago
- Strip ANSI escape codes☆39Updated 4 years ago
- Emulate console for all the browsers☆33Updated 10 months ago
- POSIX character classes for creating regular expressions.☆30Updated 4 years ago
- List of binary file extensions☆88Updated 5 months ago
- Get the version of a binary in semver format☆35Updated last year
- Returns an array filled with the specified input☆43Updated 3 years ago
- Get the visual width of the widest line in a string - the number of columns required to display it☆39Updated last year
- Check if a path is a file, directory, or symlink☆79Updated last year
- Minimal module to check if a file is executable.☆49Updated last year
- Node.js 0.12 path.isAbsolute() ponyfill☆43Updated 4 years ago
- Check if a file is executable☆29Updated 7 years ago
- Reliably get the terminal window size - cross-platform☆26Updated last year
- Convert directories to glob compatible strings☆44Updated 6 years ago
- Expand POSIX bracket expressions (character classes) in glob patterns.☆27Updated 4 years ago
- Get all emails in a text file or stdin☆24Updated 4 years ago
- Check if a file path is a binary file☆48Updated last year
- Prepend `https://` to humanized URLs like `sindresorhus.com` and `file://` to file paths☆24Updated 3 years ago
- Invert the key/value of an object. Example: {foo: 'bar'} → {bar: 'foo'}☆37Updated 3 years ago
- Like `chown -R`☆30Updated last year
- Convert a file path to a file URL: `unicorn.jpg` → `file:///Users/sindresorhus/unicorn.jpg`☆62Updated last year
- Lowercase the keys of an object☆40Updated 2 years ago
- Get a Gravatar image from an identifier, such as an email☆41Updated 4 years ago
- Command line tool for creating or updating a .npmignore file based on .gitignore.☆29Updated last year
- Find semver versions in a string: `unicorn v1.2.3` → `1.2.3`☆45Updated last year
- Expands symbolic links and prints the resolved absolute filepath☆27Updated last year