Get the char width/height proportions in different terminal emulators.
A regex to match any full character, considering weird character ranges.
Tokenizes a string that represents a regular expression.
Pad strings to a given length
A JavaScript library that breaks strings into their individual user-perceived characters (including emojis!)
Measure text using a character width table
Put a little spinner on process.stderr, as unobtrusively as possible.
Efficiently modify strings containing ANSI escape codes
Return a random character.
A JavaScript library that breaks strings into their individual user-perceived characters. It supports emojis!
Low footprint ECMAScript source code parser
Regular expressions for matching against the XML Character Classes
Convert a character or character code to string
Unicode character information library.
Create clickable links in the terminal
Typescript character code enumeration. Lets you avoid using magic numbers. Great for parsers.
QRCodes, in the terminal
A custom render for marked to output to the Terminal
Better terminal and file output for cypress test logs.
Easily add ANSI colors to your text and symbols in the terminal. A faster drop-in replacement for chalk, kleur and turbocolor (without the dependencies and rendering bugs).
fast and safe way to escape and unescape &<>'" chars
256 colors, keys and mouse, input field, progress bars, screen buffer (including 32-bit composition and image loading), text buffer, and many more... Whether you just need colors and styles, build a simple interactive command line tool or a complexe termi
Unpacks the content found within a text, delimited by an opening char and a closing char, e.g., 'Can extract (only the content found here within these parentheses)'
Common utility functions