Check if a string has ANSI escape codes
☆50Sep 8, 2025Updated 5 months ago
Alternatives and similar repositories for has-ansi
Users that are interested in has-ansi are comparing it to the libraries listed below
Sorting:
- Slice a string with ANSI escape codes☆50Feb 10, 2026Updated 3 weeks ago
- A cache for managing namespaced sub-caches☆14Sep 4, 2021Updated 4 years ago
- Like `new Map` but for older JavaScripts☆21Oct 25, 2025Updated 4 months ago
- Give me a string and I'll tell you if it's a valid npm package license string☆29Apr 14, 2021Updated 4 years ago
- Strip the final newline character from a string/buffer☆38Oct 28, 2024Updated last year
- Create an object path (dot notation) from a list or array of strings.☆16Dec 31, 2020Updated 5 years ago
- Returns true if a value has the characteristics of a valid JavaScript accessor descriptor.☆15Dec 30, 2025Updated 2 months ago
- ES2015 Number.isFinite() ponyfill☆20Apr 7, 2021Updated 4 years ago
- Regular expression for matching ANSI escape codes☆202Feb 18, 2026Updated 2 weeks ago
- Check if a number is a redirect HTTP status code☆25Apr 17, 2021Updated 4 years ago
- Get the command from a shebang☆24Aug 14, 2021Updated 4 years ago
- AWS signing. Originally pulled from LearnBoost/knox, maintained as vendor in request, now a standalone module.☆30Jun 2, 2020Updated 5 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
- Map `visit` over an array of objects.☆17Jun 27, 2022Updated 3 years ago
- Extended POSIX-style sprintf☆35Nov 2, 2021Updated 4 years ago
- Detect whether or not an object is a Typed Array☆21Jan 23, 2024Updated 2 years ago
- Check if the character represented by a given Unicode code point is fullwidth☆51Aug 31, 2025Updated 6 months ago
- One promise for multiple requests in flight to avoid async duplication☆17Aug 4, 2020Updated 5 years ago
- Iterator abstraction as specified in ECMAScript6☆19Jun 30, 2021Updated 4 years ago
- Create an array by repeating the given string n times.☆19Apr 7, 2021Updated 4 years ago
- Higher-order functions for easier error handling☆13Apr 15, 2023Updated 2 years ago
- Returns the next buffer/object in a stream's readable queue☆22Jan 17, 2024Updated 2 years ago
- Expand POSIX bracket expressions (character classes) in glob patterns.☆27Oct 4, 2021Updated 4 years ago
- Copy static properties, prototype properties, and descriptors from one object to another☆15Dec 16, 2020Updated 5 years ago
- Try to guess if your terminal supports unicode☆18Dec 16, 2020Updated 5 years ago
- Returns true if a string has an extglob☆23May 25, 2019Updated 6 years ago
- getpass for node.js☆17Apr 25, 2017Updated 8 years ago
- Check if a given module ID is resolvable with require()☆16Nov 30, 2018Updated 7 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
- Command line argument parser☆19Jul 18, 2023Updated 2 years 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…☆19Aug 20, 2021Updated 4 years ago
- Regular expression for matching a shebang line☆48Aug 13, 2021Updated 4 years ago
- Node.js 0.12 path.isAbsolute() ponyfill☆43Jan 24, 2021Updated 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
- Moved to https://github.com/nodejs/string_decoder☆23Jun 21, 2017Updated 8 years ago
- Call the given method on each value in the given object.☆20Mar 14, 2023Updated 2 years ago
- Promises of moves of files or directories with rename, falling back to recursive rename/copy on EXDEV errors, with configurable concurren…☆18May 8, 2020Updated 5 years ago
- ES2015 `String#codePointAt()` ponyfill☆23Jan 23, 2021Updated 5 years ago
- Utilities for the snapdragon parser/compiler.☆18Aug 12, 2020Updated 5 years ago