ANSI escape codes for manipulating the terminal
☆550Feb 4, 2026Updated 4 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☆114Jul 26, 2024Updated last year
- Wordwrap a string with ANSI escape codes☆138Feb 20, 2026Updated 3 months ago
- ANSI escape codes for styling strings in the terminal☆460Feb 27, 2026Updated 3 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,156Apr 5, 2026Updated 2 months ago
- Wordpress hosting with auto-scaling - Free Trial Offer • AdFully Managed hosting for WordPress and WooCommerce businesses that need reliable, auto-scalable performance. Cloudways SafeUpdates now available.
- ES2015 `String#codePointAt()` ponyfill☆23Jan 23, 2021Updated 5 years ago
- Strip redundant indentation and indent the string☆55May 3, 2021Updated 5 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 last year
- Unicode symbols with fallbacks for older terminals☆628Oct 28, 2024Updated last year
- Bytes go in, but they don't come out (when muted).☆54Updated this week
- Check if a path is a file, directory, or symlink☆80Feb 2, 2026Updated 4 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
- 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 5 years ago
- Check if the character represented by a given Unicode code point is fullwidth☆51Aug 31, 2025Updated 9 months ago
- Check if a file path is a binary file☆49Apr 30, 2024Updated 2 years ago
- Ensure a function is only called once☆166Feb 2, 2026Updated 4 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 5 years ago
- Truncate a string to a specific width in the terminal☆93Apr 4, 2026Updated 2 months 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 8 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.
- 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 8 months ago
- Find a file or directory by walking up parent directories☆640Sep 16, 2025Updated 8 months ago
- Create clickable links in the terminal☆663Sep 8, 2025Updated 9 months ago
- Reliably get the terminal window size☆147Feb 2, 2026Updated 4 months ago
- Get a stream as a string, Buffer, ArrayBuffer or array☆359Oct 28, 2024Updated last year
- End-to-end encrypted cloud storage - Proton Drive • AdSpecial offer: 40% Off Yearly / 80% Off First Month. Protect your most important files, photos, and documents from prying eyes.
- Transform the first chunk in a stream☆28Nov 1, 2023Updated 2 years ago
- Get callsites from the V8 stack trace API☆271Sep 9, 2025Updated 9 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 4 years ago
- Prepend `https://` to humanized URLs like `sindresorhus.com` and `localhost`☆66Sep 9, 2025Updated 9 months ago
- Slice a string with ANSI escape codes☆51Apr 4, 2026Updated 2 months ago