ANSI escape codes for styling strings in the terminal
☆453Feb 27, 2026Updated last week
Alternatives and similar repositories for ansi-styles
Users that are interested in ansi-styles are comparing it to the libraries listed below
Sorting:
- Detect whether a terminal supports color☆365Jan 4, 2026Updated 2 months ago
- Check if a string has ANSI escape codes☆50Sep 8, 2025Updated 5 months ago
- Regular expression for matching ANSI escape codes☆202Feb 18, 2026Updated 2 weeks ago
- ANSI escape codes for manipulating the terminal☆540Feb 4, 2026Updated last month
- Wordwrap a string with ANSI escape codes☆135Feb 20, 2026Updated 2 weeks ago
- Slice a string with ANSI escape codes☆50Feb 10, 2026Updated 3 weeks ago
- Minimal async jobs utility library, with streams support☆25Dec 18, 2025Updated 2 months ago
- AWS signing. Originally pulled from LearnBoost/knox, maintained as vendor in request, now a standalone module.☆30Jun 2, 2020Updated 5 years ago
- Use node's fs.realpath, but fall back to the JS implementation if the native one fails☆25Oct 25, 2025Updated 4 months ago
- Check if the character represented by a given Unicode code point is fullwidth☆51Aug 31, 2025Updated 6 months ago
- Repeat a string - fast☆35May 3, 2021Updated 4 years ago
- ES2015 `String#codePointAt()` ponyfill☆23Jan 23, 2021Updated 5 years ago
- Define multiple non-enumerable properties at once. Uses `Object.defineProperty` when available; falls back to standard assignment in olde…☆21Dec 30, 2025Updated 2 months ago
- Check if an object can be used like an Array☆17Sep 13, 2025Updated 5 months ago
- Strip ANSI escape codes from a string☆503Feb 26, 2026Updated last week
- 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
- Get the command from a shebang☆24Aug 14, 2021Updated 4 years ago
- Brace expansion, as known from sh/bash, in JavaScript☆202Feb 27, 2026Updated last week
- A cache for managing namespaced sub-caches☆14Sep 4, 2021Updated 4 years ago
- Recursively flatten an array or arrays. This is the fastest implementation of array flatten.☆59Dec 30, 2021Updated 4 years ago
- Returns true if a string has an extglob☆23May 25, 2019Updated 6 years ago
- Visit a method over the items in an object, or map visit over the objects in an array. This is an alternative approach to using extend or…☆20Dec 15, 2020Updated 5 years ago
- Check if argv has a specific flag☆96Jul 19, 2021Updated 4 years ago
- Expand POSIX bracket expressions (character classes) in glob patterns.☆27Oct 4, 2021Updated 4 years ago
- Modern Buffer API polyfill without footguns☆27Apr 22, 2021Updated 4 years ago
- abstract base class for hash-streams☆11Sep 23, 2025Updated 5 months ago
- Returns true if a value has the characteristics of a valid JavaScript accessor descriptor.☆15Dec 30, 2025Updated 2 months ago
- Create an object path (dot notation) from a list or array of strings.☆16Dec 31, 2020Updated 5 years ago
- ES2015 Number.isFinite() ponyfill☆20Apr 7, 2021Updated 4 years ago
- Moved to https://github.com/nodejs/string_decoder☆23Jun 21, 2017Updated 8 years ago
- Like `new Map` but for older JavaScripts☆21Oct 25, 2025Updated 4 months ago
- Utilities for the snapdragon parser/compiler.☆18Aug 12, 2020Updated 5 years ago
- A library of cross-platform tested terminal/console command strings for doing things like color and cursor positioning. This is a subset…☆31Dec 18, 2020Updated 5 years ago
- Returns an array with only the unique values from all given arrays using strict equality for comparisons.☆45Jan 4, 2022Updated 4 years ago
- normalizes package metadata, typically found in package.json file.☆204Jan 21, 2026Updated last month
- Give me a string and I'll tell you if it's a valid npm package license string☆29Apr 14, 2021Updated 4 years ago
- Get the PATH environment variable key cross-platform☆46Sep 12, 2025Updated 5 months ago
- Map `visit` over an array of objects.☆17Jun 27, 2022Updated 3 years ago
- correct invalid SPDX identifiers☆34Apr 15, 2024Updated last year