Search results
1000+ packages found
Sort by: Default
- Default
- Most downloaded this week
- Most downloaded this month
- Most dependents
- Recently published
ANSI escape codes for styling strings in the terminal
Strip ANSI escape codes from a string
Wordwrap a string with ANSI escape codes
Regular expression for matching ANSI escape codes
Get the visual width of a string - the number of columns required to display it
Escape RegExp special characters
Given some data, jsesc returns the shortest possible stringified & ASCII-safe representation of that data.
ANSI escape codes for manipulating the terminal
Slice a string with ANSI escape codes
A JavaScript library for escaping CSS strings and identifiers while generating the shortest possible ASCII-only output.
fast and safe way to escape and unescape &<>'" chars
Escape string for use in HTML
Get the real length of a string - by correctly counting astral symbols and ignoring ansi escape codes
ANSI escape codes for some terminal swag
Create clickable links in the terminal
Get the visual width of the widest line in a string - the number of columns required to display it
Easy way to split a string on a given character unless it's quoted or escaped.
Check if a string has ANSI escape codes
micromark utility to decode markdown strings
Escape a string for use in HTML or the inverse
- escape
- unescape
- html
- entity
- entities
- escaping
- sanitize
- sanitization
- utility
- template
- attribute
- value
- interpolate
- xss
- View more