chalk / has-ansi
Check if a string has ANSI escape codes
☆45Updated 3 months ago
Related projects ⓘ
Alternatives and complementary repositories for has-ansi
- Slice a string with ANSI escape codes☆47Updated 5 months ago
- Node.js 0.12 path.isAbsolute() ponyfill☆43Updated 3 years ago
- Regular expression for matching a shebang line☆46Updated 3 years ago
- Strip redundant indentation and indent the string☆54Updated 3 years ago
- Get all emails in a text file or stdin☆24Updated 3 years ago
- Check if a file path is a binary file☆42Updated 6 months ago
- Get user info of an npm user☆30Updated 8 months ago
- List of vendor prefixes known to the web platform☆11Updated last year
- Check if something is a generator function☆23Updated 2 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 3 years ago
- Convert matching single-quotes to double-quotes: `I 'love' unicorns` → `I "love" unicorns`☆22Updated 2 years ago
- Find the root directory of a Node.js project or npm package☆24Updated last year
- Get the first path that exists on disk of multiple paths☆58Updated last year
- Detect whether a terminal supports color☆17Updated 3 years ago
- Expands symbolic links and prints the resolved absolute filepath☆25Updated 6 months ago
- Prepend `https://` to humanized URLs like `sindresorhus.com` and `file://` to file paths☆24Updated 2 years ago
- ES spec-compliant shim for String.prototype.padStart☆23Updated 7 months ago
- Reliably get the terminal window size - cross-platform☆25Updated last year
- 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
- Check if a value is a function☆27Updated 3 years ago
- Strip ANSI escape codes☆34Updated 3 years ago
- Get the version of a binary in semver format☆35Updated 7 months ago
- ES2015 Number.isFinite() ponyfill☆19Updated 3 years ago
- ES2015 `String#codePointAt()` ponyfill☆22Updated 3 years ago
- ES2015 Number.isNaN() ponyfill☆28Updated 6 months ago
- Exclude certain items from an array☆20Updated 3 years ago
- Check if your code is running in a JXA environment☆31Updated 3 years ago
- Track the list of currently unhandled promise rejections☆24Updated 5 years ago
- Lowercase the keys of an object☆40Updated last year