ANSI escape codes for manipulating the terminal
☆554Sep 18, 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:
- Wordwrap a string with ANSI escape codes☆146Nov 14, 2026Updated last week
- ANSI escape codes for styling strings in the terminal☆469Sep 18, 2026Updated 2 months ago
- Toggle the CLI cursor☆117Sep 18, 2026Updated 2 months ago
- Gracefully restore the CLI cursor on exit☆43Sep 18, 2026Updated 2 months ago
- Check if a path is a file, directory, or symlink☆82Sep 18, 2026Updated 2 months ago
- Proton VPN Special Offer - Get 70% off • AdSpecial partner offer. Trusted by over 100 million users worldwide. Tested, Approved and Recommended by Experts.
- Strip redundant indentation and indent the string☆56Sep 18, 2026Updated 2 months ago
- Slice a string with ANSI escape codes☆53Nov 8, 2026Updated last week
- Log by overwriting the previous output in the terminal. Useful for rendering progress bars, animations, etc.☆1,169Sep 18, 2026Updated 2 months ago
- Check if a path is the current working directory☆23Sep 18, 2026Updated 2 months ago
- Similar to String#trim() but removes only whitespace on the right☆22Jul 9, 2021Updated 5 years ago
- Unicode symbols with fallbacks for older terminals☆634Sep 18, 2026Updated 2 months ago
- Bytes go in, but they don't come out (when muted).☆54Jun 18, 2026Updated 5 months ago
- Check if a number is a redirect HTTP status code☆25Sep 18, 2026Updated 2 months ago
- ES2015 `String#codePointAt()` ponyfill☆23Jan 23, 2021Updated 5 years 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.
- Check if a path is inside another path☆41Sep 18, 2026Updated 2 months ago
- Fallback to a default if `process.stdout.getWindowSize` doesn't exist☆25Jan 21, 2026Updated 10 months ago
- Reverse minimist. Convert an object of options into an array of command-line arguments☆187Sep 18, 2026Updated 2 months ago
- Utility method to run function either synchronously or asynchronously using the common `this.async()` style.☆25Aug 8, 2025Updated last year
- Repeat a string - fast☆35Sep 18, 2026Updated 2 months ago
- ES2015 Number.isFinite() ponyfill☆20Apr 7, 2021Updated 5 years ago
- Find a file or directory by walking up parent directories☆643Sep 18, 2026Updated 2 months ago
- Check if the character represented by a given Unicode code point is fullwidth☆51Sep 18, 2026Updated 2 months ago
- Regular expression for matching a shebang line☆48Sep 18, 2026Updated 2 months ago
- 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.
- Get the visual width of a string - the number of columns required to display it☆533Nov 11, 2026Updated last week
- Ensure a function is only called once☆166Sep 18, 2026Updated 2 months ago
- Get a stream as a string, Buffer, ArrayBuffer or array☆362Sep 18, 2026Updated 2 months ago
- Returns `true` if a file path appears to be relative. Moved from the "relative" lib.☆14May 6, 2018Updated 8 years ago
- Get stdin as a string or buffer☆350Sep 18, 2026Updated 2 months ago
- Check if a path is in the current working directory☆23Sep 18, 2026Updated 2 months ago
- Reliably get the terminal window size☆149Sep 20, 2026Updated 2 months ago
- Check if a string has ANSI escape codes☆51Sep 18, 2026Updated 2 months ago
- Get the real length of a string - by correctly counting astral symbols and ignoring ansi escape codes☆172Jul 25, 2026Updated 3 months ago
- Simple, predictable pricing with DigitalOcean hosting • AdAlways know what you'll pay with monthly caps and flat pricing. Enterprise-grade infrastructure trusted by 600k+ customers.
- DES for browserify☆10Dec 21, 2024Updated last year
- Create clickable links in the terminal☆671Sep 18, 2026Updated 2 months ago
- Transform the first chunk in a stream☆28Sep 18, 2026Updated 2 months ago
- Invert the key/value of an object. Example: {foo: 'bar'} → {bar: 'foo'}☆37Sep 18, 2026Updated 2 months ago
- Make unhandled promise rejections fail loudly instead of the default silent fail☆280Sep 18, 2026Updated 2 months ago
- Get the first path that exists on disk of multiple paths☆65Sep 18, 2026Updated 2 months ago
- Create Error classes☆41Nov 27, 2018Updated 7 years ago
Are these results useful?