chalk / has-ansi
Check if a string has ANSI escape codes
☆45Updated 8 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 9 months ago
- Expand POSIX bracket expressions (character classes) in glob patterns.☆27Updated 3 years ago
- Check if a file path is a binary file☆44Updated 10 months ago
- Check if something is a generator function☆22Updated 2 years ago
- Node.js 0.12 path.isAbsolute() ponyfill☆43Updated 4 years ago
- Strip redundant indentation and indent the string☆54Updated 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 2 years ago
- Get user info of an npm user☆31Updated last year
- Regular expression for matching a shebang line☆46Updated 3 years ago
- List of archive file extensions☆14Updated 10 months ago
- Track the list of currently unhandled promise rejections☆24Updated 6 years ago
- Promises of moves of files or directories with rename, falling back to recursive rename/copy on EXDEV errors, with configurable concurren…☆19Updated 4 years ago
- Expands symbolic links and prints the resolved absolute filepath☆26Updated 10 months ago
- Strip ANSI escape codes☆34Updated 3 years ago
- Get the user home directory with fallback to the system temp directory☆30Updated 3 years ago
- List of vendor prefixes known to the web platform☆11Updated 2 years ago
- Prepend `https://` to humanized URLs like `sindresorhus.com` and `file://` to file paths☆24Updated 2 years ago
- Convert matching single-quotes to double-quotes: `I 'love' unicorns` → `I "love" unicorns`☆22Updated 2 years ago
- ES2015 Number.isNaN() ponyfill☆28Updated 10 months ago
- ES2015 Number.isFinite() ponyfill☆19Updated 3 years ago
- The Node.js `util.deprecate()` function with browser support☆38Updated 6 years ago
- Returns an object with the base path and the actual pattern from a glob.☆17Updated 7 years ago
- Get the PATH environment variable key cross-platform☆44Updated 10 months ago
- ES2015 `String#codePointAt()` ponyfill☆22Updated 4 years ago
- ☆20Updated 3 years ago
- ES spec-compliant shim for String.prototype.padStart☆23Updated this week
- Iterate over the own enumerable properties of an object, and return an object with properties that evaluate to true from the callback. Ex…☆23Updated 8 years ago
- Use node's fs.realpath, but fall back to the JS implementation if the native one fails☆26Updated last year
- Repeat a string - fast☆34Updated 3 years ago
- set blocking stdio and stderr ensuring that terminal output does not truncate☆38Updated last year