ANSI escape codes for styling strings in the terminal
☆469Sep 18, 2026Updated 2 months ago
Alternatives and similar repositories for ansi-styles
Users that are interested in ansi-styles are comparing it to the libraries listed below. We may earn a commission when you buy through links labeled 'Ad' on this page.
Sorting:
- Detect whether a terminal supports color☆376Sep 18, 2026Updated 2 months ago
- Wordwrap a string with ANSI escape codes☆146Nov 14, 2026Updated last week
- Slice a string with ANSI escape codes☆53Nov 8, 2026Updated last week
- Check if a string has ANSI escape codes☆51Sep 18, 2026Updated 2 months ago
- ANSI escape codes for manipulating the terminal☆554Sep 18, 2026Updated 2 months ago
- Managed hosting for WordPress and PHP on Cloudways • AdManaged hosting for WordPress, Magento, Laravel, or PHP apps, on multiple cloud providers. Deploy in minutes on Cloudways by DigitalOcean.
- DES for browserify☆10Dec 21, 2024Updated last year
- Regular expression for matching ANSI escape codes☆205Nov 8, 2026Updated 2 weeks ago
- 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 2 months ago
- ES2015 `String#codePointAt()` ponyfill☆23Jan 23, 2021Updated 5 years ago
- Check if argv has a specific flag☆97Sep 18, 2026Updated 2 months ago
- Check if an object can be used like an Array☆18Sep 13, 2025Updated last year
- Check if a file path is a binary file☆50Sep 18, 2026Updated 2 months ago
- Regular expression for matching a shebang line☆48Sep 18, 2026Updated 2 months 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.
- Returns true if a string has an extglob☆24May 25, 2019Updated 7 years ago
- Expand POSIX bracket expressions (character classes) in glob patterns.☆27Oct 4, 2021Updated 5 years ago
- Repeat a string - fast☆35Sep 18, 2026Updated 2 months 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
- Returns true if a value has the characteristics of a valid JavaScript descriptor. Works for data descriptors and accessor descriptors.☆13Nov 11, 2026Updated last week
- Try to guess if your terminal supports unicode☆19Dec 16, 2020Updated 5 years ago
- Strip the final newline character from a string/buffer☆39Sep 18, 2026Updated 2 months ago
- Give me a string and I'll tell you if it's a valid npm package license string☆27Updated this week
- Similar to String#trim() but removes only whitespace on the right☆22Jul 9, 2021Updated 5 years ago
- GPUs on demand by Runpod - Special Offer Available • AdRun AI, ML, and HPC workloads on powerful cloud GPUs—without limits or wasted spend. Deploy GPUs in under a minute and pay by the second.
- Minimal module to check if a file is executable.☆53Feb 9, 2026Updated 9 months ago
- Node.js 0.12 path.isAbsolute() ponyfill☆43Jan 24, 2021Updated 5 years ago
- Check if a path is a file, directory, or symlink☆82Sep 18, 2026Updated 2 months ago
- Gracefully restore the CLI cursor on exit☆43Sep 18, 2026Updated 2 months 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 8 years ago
- Use node's fs.realpath, but fall back to the JS implementation if the native one fails☆25Oct 25, 2025Updated last year
- Map `visit` over an array of objects.☆17Jun 27, 2022Updated 4 years ago
- ☆19Dec 21, 2024Updated last year
- Define multiple non-enumerable properties at once. Uses `Object.defineProperty` when available; falls back to standard assignment in olde…☆21Dec 30, 2025Updated 10 months ago
- Managed hosting for WordPress and PHP on Cloudways • AdManaged hosting for WordPress, Magento, Laravel, or PHP apps, on multiple cloud providers. Deploy in minutes on Cloudways by DigitalOcean.
- Iterate over the own enumerable properties of an object, and return an object with properties that evaluate to true from the callback. Ex…☆24Feb 27, 2017Updated 9 years ago
- Strip ANSI escape codes from a string☆499Sep 18, 2026Updated 2 months ago
- Strip redundant indentation and indent the string☆56Sep 18, 2026Updated 2 months ago
- Check if a path is the current working directory☆23Sep 18, 2026Updated 2 months ago
- Get the first fulfilled promise that satisfies the provided testing function☆83Sep 18, 2026Updated 2 months ago
- Answers the question: "can this value have keys?". Returns true if a value is any of the object types: array, regexp, plain object, funct…☆20Aug 20, 2021Updated 5 years ago
- Extended globs. Add (almost) the expressive power of regular expressions to glob patterns.☆32Nov 25, 2020Updated 5 years ago
Are these results useful?