ANSI escape codes for manipulating the terminal
☆543Feb 4, 2026Updated 2 months ago
Alternatives and similar repositories for ansi-escapes
Users that are interested in ansi-escapes are comparing it to the libraries listed below. We may earn a commission when you buy through links labeled 'Ad' on this page.
Sorting:
- Toggle the CLI cursor☆113Jul 26, 2024Updated last year
- Wordwrap a string with ANSI escape codes☆136Feb 20, 2026Updated last month
- ANSI escape codes for styling strings in the terminal☆456Feb 27, 2026Updated last month
- Gracefully restore the CLI cursor on exit☆41Jul 26, 2024Updated last year
- Log by overwriting the previous output in the terminal. Useful for rendering progress bars, animations, etc.☆1,146Updated this week
- Wordpress hosting with auto-scaling on Cloudways • AdFully Managed hosting built for WordPress-powered businesses that need reliable, auto-scalable hosting. Cloudways SafeUpdates now available.
- ES2015 `String#codePointAt()` ponyfill☆23Jan 23, 2021Updated 5 years ago
- Strip redundant indentation and indent the string☆55May 3, 2021Updated 4 years ago
- Similar to String#trim() but removes only whitespace on the right☆22Jul 9, 2021Updated 4 years ago
- Check if a path is the current working directory☆22May 10, 2025Updated 10 months ago
- Unicode symbols with fallbacks for older terminals☆623Oct 28, 2024Updated last year
- Bytes go in, but they don't come out (when muted).☆55Mar 20, 2026Updated 2 weeks ago
- Check if a path is a file, directory, or symlink☆80Feb 2, 2026Updated 2 months ago
- Check if a number is a redirect HTTP status code☆25Apr 17, 2021Updated 4 years ago
- Node.js 0.12 path.isAbsolute() ponyfill☆43Jan 24, 2021Updated 5 years ago
- GPU virtual machines on DigitalOcean Gradient AI • AdGet to production fast with high-performance AMD and NVIDIA GPUs you can spin up in seconds. The definition of operational simplicity.
- Repeat a string - fast☆35May 3, 2021Updated 4 years ago
- Check if the character represented by a given Unicode code point is fullwidth☆51Aug 31, 2025Updated 7 months ago
- Check if a file path is a binary file☆49Apr 30, 2024Updated last year
- Ensure a function is only called once☆165Feb 2, 2026Updated 2 months ago
- Prepend `https://` to humanized URLs like `sindresorhus.com` and `file://` to file paths☆25Jul 9, 2022Updated 3 years ago
- Truncate a string to a specific width in the terminal☆88Mar 1, 2026Updated last month
- Check if a path is in the current working directory☆23May 3, 2021Updated 4 years ago
- Import a module like with `require()` but from a given path☆85Jul 8, 2022Updated 3 years ago
- Get the first path that exists on disk of multiple paths☆64Sep 15, 2025Updated 6 months ago
- Managed Kubernetes at scale on DigitalOcean • AdDigitalOcean Kubernetes includes the control plane, bandwidth allowance, container registry, automatic updates, and more for free.
- Reverse minimist. Convert an object of options into an array of command-line arguments☆187Feb 19, 2023Updated 3 years ago
- Make unhandled promise rejections fail loudly instead of the default silent fail☆282Jan 24, 2021Updated 5 years ago
- Detect the dominant newline character of a string☆55Sep 23, 2023Updated 2 years ago
- Create Error classes☆41Nov 27, 2018Updated 7 years ago
- Check if it's the first time the process is run☆83Sep 12, 2025Updated 6 months ago
- Find a file or directory by walking up parent directories☆637Sep 16, 2025Updated 6 months ago
- Create clickable links in the terminal☆660Sep 8, 2025Updated 7 months ago
- Reliably get the terminal window size☆146Feb 2, 2026Updated 2 months ago
- Get a stream as a string, Buffer, ArrayBuffer or array☆359Oct 28, 2024Updated last year
- Proton VPN Special Offer - Get 70% off • AdSpecial partner offer. Trusted by over 100 million users worldwide. Tested, Approved and Recommended by Experts.
- Transform the first chunk in a stream☆28Nov 1, 2023Updated 2 years ago
- Get callsites from the V8 stack trace API☆270Sep 9, 2025Updated 7 months ago
- ES2015 Number.isFinite() ponyfill☆20Apr 7, 2021Updated 5 years ago
- Make unhandled promise rejections fail hard right away instead of the default silent fail☆107Jul 8, 2022Updated 3 years ago
- Indent each line in a string☆116Jun 5, 2022Updated 3 years ago
- Prepend `https://` to humanized URLs like `sindresorhus.com` and `localhost`☆66Sep 9, 2025Updated 7 months ago
- Slice a string with ANSI escape codes☆51Feb 10, 2026Updated last month