Detect whether a terminal supports color
☆375Sep 18, 2026Updated last month
Alternatives and similar repositories for supports-color
Users that are interested in supports-color are comparing it to the libraries listed below. We may earn a commission when you buy through links labeled 'Ad' on this page.
Sorting:
- ANSI escape codes for styling strings in the terminal☆468Sep 18, 2026Updated last month
- Wordwrap a string with ANSI escape codes☆143Sep 21, 2026Updated last month
- Try to guess if your terminal supports unicode☆18Dec 16, 2020Updated 5 years ago
- Slice a string with ANSI escape codes☆51Sep 18, 2026Updated last month
- Removes all separators from the end of a string.☆12Dec 12, 2017Updated 8 years ago
- Simple, predictable pricing with DigitalOcean hosting • AdAlways know what you'll pay with monthly caps and flat pricing. Enterprise-grade infrastructure trusted by 600k+ customers.
- DES for browserify☆10Dec 21, 2024Updated last year
- Check if a string has ANSI escape codes☆51Sep 18, 2026Updated last month
- ES2015 Number.isFinite() ponyfill☆20Apr 7, 2021Updated 5 years ago
- Check if the character represented by a given Unicode code point is fullwidth☆51Sep 18, 2026Updated last month
- Check if argv has a specific flag☆95Sep 18, 2026Updated last month
- Returns true if a string has an extglob☆23May 25, 2019Updated 7 years ago
- Strip the final newline character from a string/buffer☆38Sep 18, 2026Updated last month
- Check if a file path is a binary file☆49Sep 18, 2026Updated last month
- Node.js 0.12 path.isAbsolute() ponyfill☆43Jan 24, 2021Updated 5 years ago
- 1-Click AI Models by DigitalOcean Gradient • AdDeploy popular AI models on DigitalOcean Gradient GPU virtual machines with just a single click. Zero configuration with optimized deployments.
- ES2015 `String#codePointAt()` ponyfill☆23Jan 23, 2021Updated 5 years ago
- ES2015 Number.isNaN() ponyfill☆30May 2, 2024Updated 2 years ago
- Regular expression for matching a shebang line☆48Sep 18, 2026Updated last month
- Check if an object can be used like an Array☆17Sep 13, 2025Updated last year
- Similar to String#trim() but removes only whitespace on the right☆22Jul 9, 2021Updated 5 years ago
- ☆19Dec 21, 2024Updated last year
- abstract base class for hash-streams☆11Sep 23, 2025Updated last year
- Expand POSIX bracket expressions (character classes) in glob patterns.☆27Oct 4, 2021Updated 5 years ago
- Returns true if a value has the characteristics of a valid JavaScript descriptor. Works for data descriptors and accessor descriptors.☆12May 12, 2026Updated 5 months ago
- End-to-end encrypted email - Proton Mail • AdSpecial offer: 40% Off Yearly / 80% Off First Month. All Proton services are open source and independently audited for security.
- Regular expression for matching ANSI escape codes☆202Updated this week
- Define multiple non-enumerable properties at once. Uses `Object.defineProperty` when available; falls back to standard assignment in olde…☆20Dec 30, 2025Updated 10 months ago
- Minimal module to check if a file is executable.☆52Feb 9, 2026Updated 8 months ago
- A cache for managing namespaced sub-caches☆14Sep 4, 2021Updated 5 years ago
- Fallback to a default if `process.stdout.getWindowSize` doesn't exist☆24Jan 21, 2026Updated 9 months ago
- Get an ArrayBuffer from a Buffer as fast as possible☆20Jul 9, 2021Updated 5 years ago
- Use node's fs.realpath, but fall back to the JS implementation if the native one fails☆25Oct 25, 2025Updated last year
- Create an array by repeating the given string n times.☆19Apr 7, 2021Updated 5 years ago
- Check if a number is a redirect HTTP status code☆25Sep 18, 2026Updated last month
- 1-Click AI Models by DigitalOcean Gradient • AdDeploy popular AI models on DigitalOcean Gradient GPU virtual machines with just a single click. Zero configuration with optimized deployments.
- Check if a path is inside another path☆40Sep 18, 2026Updated last month
- ☆19Dec 21, 2024Updated last year
- Strip redundant indentation and indent the string☆56Sep 18, 2026Updated last month
- Returns an object with the base path and the actual pattern from a glob.☆17Apr 12, 2017Updated 9 years ago
- The map of HTTP status codes from the builtin http module☆19Apr 21, 2022Updated 4 years ago
- Like `new Map` but for older JavaScripts☆21Oct 25, 2025Updated last year
- ☆20Oct 19, 2026Updated last week