Search results

1000+ packages found

ANSI escape codes for styling strings in the terminal

published version 6.2.1, 3 years ago3833 dependents licensed under $MIT
1,535,526,186

Strip ANSI escape codes from a string

published version 7.1.0, 2 years ago9586 dependents licensed under $MIT
991,372,619

Regular expression for matching ANSI escape codes

published version 6.1.0, 8 months ago3344 dependents licensed under $MIT
911,605,258

Get the visual width of a string - the number of columns required to display it

published version 7.2.0, 10 months ago6650 dependents licensed under $MIT
827,574,297

Wordwrap a string with ANSI escape codes

published version 9.0.0, 2 years ago6282 dependents licensed under $MIT
751,225,067

Escape RegExp special characters

published version 5.0.0, 4 years ago5422 dependents licensed under $MIT
662,981,370

Given some data, jsesc returns the shortest possible stringified & ASCII-safe representation of that data.

published version 3.1.0, 5 months ago2081 dependents licensed under $MIT
312,455,716

Slice a string with ANSI escape codes

published version 7.1.0, 2 years ago1040 dependents licensed under $MIT
238,761,358

ANSI escape codes for manipulating the terminal

published version 7.0.0, a year ago2699 dependents licensed under $MIT
267,412,688

ANSI escape codes for some terminal swag

published version 1.0.5, 5 years ago1141 dependents licensed under $MIT
122,607,154

Escape string for use in HTML

published version 1.0.3, 10 years ago3127 dependents licensed under $MIT
156,782,519

A JavaScript library for escaping CSS strings and identifiers while generating the shortest possible ASCII-only output.

published version 3.0.0, 6 years ago932 dependents licensed under $MIT
139,331,830

fast and safe way to escape and unescape &<>'" chars

published version 3.0.3, 4 years ago1177 dependents licensed under $MIT
140,201,458

Get the real length of a string - by correctly counting astral symbols and ignoring ansi escape codes

published version 6.0.0, 2 years ago1199 dependents licensed under $MIT
136,402,868

Create clickable links in the terminal

published version 4.0.0, a month ago1901 dependents licensed under $MIT
48,235,836

Get the visual width of the widest line in a string - the number of columns required to display it

published version 5.0.0, 2 years ago593 dependents licensed under $MIT
65,519,798

Easy way to split a string on a given character unless it's quoted or escaped.

published version 6.1.0, 6 years ago860 dependents licensed under $MIT
48,749,242

Check if a string has ANSI escape codes

published version 6.0.0, 10 months ago493 dependents licensed under $MIT
54,030,485

Escape a string for use in HTML or the inverse

published version 4.0.0, 4 years ago540 dependents licensed under $MIT
28,885,840

Serialize (encode) HTML character references

published version 4.0.4, a year ago76 dependents licensed under $MIT
27,285,680
OSZAR »