Search results

1000+ packages found

ANSI escape codes for styling strings in the terminal

published version 6.2.1, 3 years ago3825 dependents licensed under $MIT
1,524,023,965

Strip ANSI escape codes from a string

published version 7.1.0, 2 years ago9552 dependents licensed under $MIT
1,002,935,221

Wordwrap a string with ANSI escape codes

published version 9.0.0, a year ago6268 dependents licensed under $MIT
762,017,451

Regular expression for matching ANSI escape codes

published version 6.1.0, 7 months ago3339 dependents licensed under $MIT
919,341,327

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

published version 7.2.0, 10 months ago6634 dependents licensed under $MIT
810,233,564

Escape RegExp special characters

published version 5.0.0, 4 years ago5410 dependents licensed under $MIT
671,576,717

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

published version 3.1.0, 4 months ago2077 dependents licensed under $MIT
337,213,163

ANSI escape codes for manipulating the terminal

published version 7.0.0, a year ago2694 dependents licensed under $MIT
269,576,926

Slice a string with ANSI escape codes

published version 7.1.0, a year ago1037 dependents licensed under $MIT
243,688,219

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

published version 3.0.0, 6 years ago931 dependents licensed under $MIT
139,865,090

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

published version 3.0.3, 4 years ago1178 dependents licensed under $MIT
136,569,457

Escape string for use in HTML

published version 1.0.3, 10 years ago3109 dependents licensed under $MIT
153,328,309

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
137,880,130

ANSI escape codes for some terminal swag

published version 1.0.5, 5 years ago1137 dependents licensed under $MIT
119,046,287

Create clickable links in the terminal

published version 4.0.0, a month ago1887 dependents licensed under $MIT
46,273,216

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

published version 5.0.0, a year ago591 dependents licensed under $MIT
63,286,862

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

published version 6.1.0, 6 years ago861 dependents licensed under $MIT
47,128,775

Check if a string has ANSI escape codes

published version 6.0.0, 9 months ago493 dependents licensed under $MIT
52,807,827

micromark utility to decode markdown strings

published version 2.0.1, 5 months ago24 dependents licensed under $MIT
35,232,644

Escape a string for use in HTML or the inverse

published version 4.0.0, 4 years ago540 dependents licensed under $MIT
29,964,387