chalk / has-ansi
Check if a string has ANSI escape codes
☆45Updated 6 months ago
Alternatives and similar repositories for has-ansi:
Users that are interested in has-ansi are comparing it to the libraries listed below
- Slice a string with ANSI escape codes☆47Updated 7 months ago
- Get the user home directory with fallback to the system temp directory☆30Updated 3 years ago
- Node.js 0.12 path.isAbsolute() ponyfill☆43Updated 3 years ago
- Use node's fs.realpath, but fall back to the JS implementation if the native one fails☆26Updated last year
- Expand POSIX bracket expressions (character classes) in glob patterns.☆27Updated 3 years ago
- List of vendor prefixes known to the web platform☆11Updated 2 years ago
- Convert matching single-quotes to double-quotes: `I 'love' unicorns` → `I "love" unicorns`☆22Updated 2 years ago
- ES spec-compliant shim for String.prototype.padStart☆23Updated 9 months ago
- Detect whether a terminal supports color☆18Updated 3 years ago
- Strip redundant indentation and indent the string☆54Updated 3 years ago
- Check if a file path is a binary file☆44Updated 8 months ago
- Check if something is a generator function☆22Updated 2 years ago
- Expands symbolic links and prints the resolved absolute filepath☆26Updated 8 months 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 2 years ago
- Strip ANSI escape codes☆34Updated 3 years ago
- Get the first path that exists on disk of multiple paths☆58Updated last year
- Get user info of an npm user☆31Updated 10 months ago
- ☆20Updated 3 years ago
- Track the list of currently unhandled promise rejections☆24Updated 6 years ago
- List of archive file extensions☆13Updated 8 months ago
- Get all emails in a text file or stdin☆24Updated 3 years ago
- Get the version of a binary in semver format☆35Updated 9 months ago
- ES2015 Number.isFinite() ponyfill☆19Updated 3 years ago
- Reliably get the terminal window size - cross-platform☆26Updated last year
- Invert the key/value of an object. Example: {foo: 'bar'} → {bar: 'foo'}☆36Updated 2 years ago
- Check if a file is executable☆31Updated 6 years ago
- Returns true if a filepath is absolute. The original path-is-absolute.☆22Updated 7 years ago
- Turn a Git URL into its canonical form.☆14Updated 4 years ago
- Check if your code is running in a JXA environment☆31Updated 3 years ago
- utility to create a pretty report for a vfile☆20Updated last year