chalk / supports-colorView external linksLinks
Detect whether a terminal supports color
☆365Jan 4, 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
Sorting:
- ANSI escape codes for styling strings in the terminal☆451Oct 1, 2025Updated 4 months ago
- Wordwrap a string with ANSI escape codes☆131Sep 8, 2025Updated 5 months ago
- Try to guess if your terminal supports unicode☆18Dec 16, 2020Updated 5 years ago
- Check if the character represented by a given Unicode code point is fullwidth☆51Aug 31, 2025Updated 5 months ago
- Slice a string with ANSI escape codes☆50Updated this week
- Check if argv has a specific flag☆96Jul 19, 2021Updated 4 years ago
- Regular expression for matching ANSI escape codes☆201Sep 8, 2025Updated 5 months ago
- Check if a string has ANSI escape codes☆50Sep 8, 2025Updated 5 months ago
- Strip the final newline character from a string/buffer☆38Oct 28, 2024Updated last year
- Match balanced character pairs, like { and }☆129Jan 22, 2026Updated 3 weeks ago
- Use node's fs.realpath, but fall back to the JS implementation if the native one fails☆25Oct 25, 2025Updated 3 months ago
- ☆20Sep 24, 2025Updated 4 months ago
- Get the command from a shebang☆24Aug 14, 2021Updated 4 years ago
- A module which will endeavor to guess your terminal's level of color support.☆23Oct 18, 2018Updated 7 years ago
- A cache for managing namespaced sub-caches☆14Sep 4, 2021Updated 4 years ago
- Like `chown -R`☆30Nov 24, 2025Updated 2 months ago
- Returns true if a string has an extglob☆23May 25, 2019Updated 6 years ago
- Strip redundant indentation and indent the string☆55May 3, 2021Updated 4 years ago
- Modern Buffer API polyfill without footguns☆27Apr 22, 2021Updated 4 years ago
- 'string_decoder' module from Node.js core☆35Dec 21, 2024Updated last year
- Get the first path that exists on disk of multiple paths☆62Sep 15, 2025Updated 5 months ago
- ES2015 Number.isFinite() ponyfill☆20Apr 7, 2021Updated 4 years ago
- abstract base class for hash-streams☆11Sep 23, 2025Updated 4 months ago
- Returns true if a value has the characteristics of a valid JavaScript accessor descriptor.☆15Dec 30, 2025Updated last month
- Create an object path (dot notation) from a list or array of strings.☆16Dec 31, 2020Updated 5 years ago
- Node.js 0.12 path.isAbsolute() ponyfill☆43Jan 24, 2021Updated 5 years ago
- Like `new Map` but for older JavaScripts☆21Oct 25, 2025Updated 3 months ago
- Define multiple non-enumerable properties at once. Uses `Object.defineProperty` when available; falls back to standard assignment in olde…☆21Dec 30, 2025Updated last month
- Utilities for the snapdragon parser/compiler.☆18Aug 12, 2020Updated 5 years ago
- Moved to https://github.com/nodejs/string_decoder☆23Jun 21, 2017Updated 8 years ago
- Check if a file path is a binary file☆49Apr 30, 2024Updated last year
- Like which(1) unix command. Find the first instance of an executable in the PATH.☆351Updated this week
- Fallback to a default if `process.stdout.getWindowSize` doesn't exist☆24Jan 21, 2026Updated 3 weeks ago
- align-text with ANSI support for CLIs☆24Sep 27, 2021Updated 4 years ago
- Map `visit` over an array of objects.☆17Jun 27, 2022Updated 3 years ago
- Assign the enumerable es6 Symbol properties from an object (or objects) to the first object passed on the arguments. Can be used as a sup…☆18Sep 14, 2018Updated 7 years ago
- ES2015 Number.isNaN() ponyfill☆29May 2, 2024Updated last year
- One promise for multiple requests in flight to avoid async duplication☆17Aug 4, 2020Updated 5 years ago
- Create an array by repeating the given string n times.☆19Apr 7, 2021Updated 4 years ago