chalk / has-ansiLinks
Check if a string has ANSI escape codes
☆49Updated 11 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☆47Updated last year
- Check if a file path is a binary file☆45Updated last year
- Get the first path that exists on disk of multiple paths☆58Updated 2 years ago
- Strip redundant indentation and indent the string☆54Updated 4 years ago
- List of archive file extensions☆14Updated last year
- Regular expression for matching a shebang line☆46Updated 3 years ago
- Check if a protocol requires a certain port number to be added to an URL.☆11Updated last year
- Expands symbolic links and prints the resolved absolute filepath☆26Updated last year
- Use node's fs.realpath, but fall back to the JS implementation if the native one fails☆26Updated last year
- Node.js 0.12 path.isAbsolute() ponyfill☆43Updated 4 years ago
- List of vendor prefixes known to the web platform☆11Updated 2 years ago
- Get the version of a binary in semver format☆35Updated last year
- Convert matching single-quotes to double-quotes: `I 'love' unicorns` → `I "love" unicorns`☆22Updated 2 years ago
- Get all emails in a text file or stdin☆24Updated 3 years ago
- Expand POSIX bracket expressions (character classes) in glob patterns.☆27Updated 3 years ago
- Strip ANSI escape codes☆36Updated 3 years ago
- Promises of moves of files or directories with rename, falling back to recursive rename/copy on EXDEV errors, with configurable concurren…☆19Updated 5 years ago
- Get the user home directory with fallback to the system temp directory☆30Updated 4 years ago
- ES spec-compliant shim for String.prototype.padStart☆23Updated 3 months ago
- Invert the key/value of an object. Example: {foo: 'bar'} → {bar: 'foo'}☆37Updated 3 years ago
- set blocking stdio and stderr ensuring that terminal output does not truncate☆39Updated last year
- Track the list of currently unhandled promise rejections☆24Updated 6 years ago
- Returns true if a filepath is absolute. The original path-is-absolute.☆22Updated 7 years ago
- Use as a sub-generator or plugin in your generator to create a package.json for a project. Or install globally and run with Generate's CL…☆18Updated 4 years ago
- Check if something is a generator function☆22Updated 2 years ago
- ES2015 Number.isFinite() ponyfill☆19Updated 4 years ago
- Create ansi colors by passing open and close codes.☆19Updated last year
- Returns `true` if a file path appears to be relative. Moved from the "relative" lib.☆14Updated 7 years ago
- Rename a function☆46Updated last year
- A ponyfill for Buffer.fill☆10Updated 6 years ago