ANSI escape codes for manipulating the terminal
☆547Feb 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 2 months ago
- ANSI escape codes for styling strings in the terminal☆459Feb 27, 2026Updated 2 months ago
- 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,150Apr 5, 2026Updated 3 weeks ago
- Deploy to Railway using AI coding agents - Free Credits Offer • AdUse Claude Code, Codex, OpenCode, and more. Autonomous software development now has the infrastructure to match with Railway.
- 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 11 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 last month
- 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 5 years ago
- Node.js 0.12 path.isAbsolute() ponyfill☆43Jan 24, 2021Updated 5 years ago
- Managed Database hosting by DigitalOcean • AdPostgreSQL, MySQL, MongoDB, Kafka, Valkey, and OpenSearch available. Automatically scale up storage and focus on building your apps.
- 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 8 months ago
- Check if a file path is a binary file☆49Apr 30, 2024Updated last year
- Ensure a function is only called once☆166Feb 2, 2026Updated 2 months ago
- Prepend `https://` to humanized URLs like `sindresorhus.com` and `file://` to file paths☆25Jul 9, 2022Updated 3 years ago
- Check if a path is in the current working directory☆23May 3, 2021Updated 4 years ago
- Truncate a string to a specific width in the terminal☆91Apr 4, 2026Updated 3 weeks 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 7 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☆56Sep 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 7 months ago
- Find a file or directory by walking up parent directories☆638Sep 16, 2025Updated 7 months ago
- Create clickable links in the terminal☆659Sep 8, 2025Updated 7 months ago
- Reliably get the terminal window size☆147Feb 2, 2026Updated 2 months ago
- Get a stream as a string, Buffer, ArrayBuffer or array☆358Oct 28, 2024Updated last year
- Deploy on Railway without the complexity - Free Credits Offer • AdConnect your repo and Railway handles the rest with instant previews. Quickly provision container image services, databases, and storage volumes.
- Transform the first chunk in a stream☆28Nov 1, 2023Updated 2 years ago
- Get callsites from the V8 stack trace API☆271Sep 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☆51Apr 4, 2026Updated 3 weeks ago