chalk / supports-color-cli
Detect whether a terminal supports color
☆18Updated 3 years ago
Related projects ⓘ
Alternatives and complementary repositories for supports-color-cli
- Check if a string is a scoped npm package name☆24Updated 2 years ago
- Check if your code is running in a JXA environment☆31Updated 3 years ago
- Get all emails in a text file or stdin☆24Updated 3 years ago
- Strip the final newline character from a string/buffer☆35Updated 3 weeks ago
- Get the system default UID☆11Updated last year
- Reliably get the terminal window size - cross-platform☆25Updated last year
- Convert matching single-quotes to double-quotes: `I 'love' unicorns` → `I "love" unicorns`☆22Updated 2 years ago
- Check if something is a generator function☆23Updated 2 years ago
- ES spec-compliant shim for String.prototype.padStart☆23Updated 8 months ago
- Get user info of an npm user☆30Updated 8 months ago
- Check if a file path is a compressed file☆16Updated 6 months ago
- utility to create a pretty report for a vfile☆20Updated last year
- Find semver versions in a string: `unicorn v1.2.3` → `1.2.3`☆18Updated 7 months ago
- Strip redundant indentation and indent the string☆54Updated 3 years ago
- Split a string at one or more indices☆23Updated 3 years ago
- Convert a time string to seconds: '0017' → 1337☆35Updated 3 years ago
- Get the version of a binary in semver format☆42Updated 7 months ago
- Strip shebang (eg. #!/bin/sh) from a string☆11Updated 3 years ago
- Prepend `https://` to humanized URLs like `sindresorhus.com` and `file://` to file paths☆24Updated 2 years ago
- Truncate a semver version: 1.2.3 → 1.2.0☆17Updated 2 years ago
- Find the root directory of a Node.js project or npm package☆24Updated last year
- List of archive file extensions☆12Updated 6 months ago
- Simple wildcard matching☆34Updated 3 years ago
- Check if a string has ANSI escape codes☆45Updated 4 months ago
- Regular expression for matching a shebang line☆46Updated 3 years ago
- Find semver versions in a string: `unicorn v1.2.3` → `1.2.3`☆45Updated 7 months ago
- Get the path to an app (macOS)☆63Updated 2 years ago
- Get the path to this package - Useful for testing☆21Updated 3 years ago
- Turn an object into a string of HTML attributes☆49Updated last year
- Convert matching double-quotes to single-quotes: `I "love" unicorns` → `I 'love' unicorns`☆55Updated 2 years ago