chalk / supports-color-cli
Detect whether a terminal supports color
☆17Updated 3 years ago
Related projects: ⓘ
- Check if a string is a scoped npm package name☆24Updated 2 years ago
- Get all emails in a text file or stdin☆24Updated 3 years ago
- Find the root directory of a Node.js project or npm package☆23Updated 10 months ago
- Get the path to this package - Useful for testing☆21Updated 3 years ago
- Get user info of an npm user☆30Updated 6 months ago
- Find semver versions in a string: `unicorn v1.2.3` → `1.2.3`☆45Updated 5 months ago
- Get the path to an app (macOS)☆63Updated 2 years ago
- Get bundle identifier from a bundle name (macOS): Safari → com.apple.Safari☆16Updated 3 years ago
- Check if a value is a function☆27Updated 3 years ago
- Get the version of a binary in semver format☆35Updated 5 months ago
- Find semver versions in a string: `unicorn v1.2.3` → `1.2.3`☆18Updated 5 months ago
- Strip the final newline character from a string/buffer☆33Updated 4 months ago
- Regular expression for matching scoped npm package names☆26Updated 2 years ago
- Strip redundant indentation and indent the string☆54Updated 3 years ago
- Reliably get the terminal window size - cross-platform☆25Updated 10 months ago
- Expands symbolic links and prints the resolved absolute filepath☆25Updated 4 months ago
- Convert matching single-quotes to double-quotes: `I 'love' unicorns` → `I "love" unicorns`☆22Updated 2 years ago
- Check if your code is running in a JXA environment☆31Updated 3 years ago
- Extract the article title of a HTML document☆53Updated 2 years ago
- Check if a file path is a compressed file☆16Updated 4 months ago
- Simple wildcard matching☆34Updated 2 years ago
- Get the first path that exists on disk of multiple paths☆58Updated last year
- Create an array with values that are present in the first input array but not additional ones☆37Updated 3 years ago
- Convert a time string to seconds: '0017' → 1337☆35Updated 3 years ago
- Check if an Array is sorted☆34Updated 3 years ago
- Regular expression for matching a shebang line☆46Updated 3 years ago
- Check if a string has ANSI escape codes☆45Updated 2 months ago
- Lowercase the keys of an object☆41Updated last year
- Split a string at one or more indices☆23Updated 3 years ago
- Get the system default UID☆11Updated last year