Search results

2723 packages found

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

published 7.1.0 2 months ago
M
Q
P

Wordwrap a string with ANSI escape codes

published 9.0.0 5 months ago
M
Q
P

Strip ANSI escape codes from a string

published 7.1.0 10 months ago
M
Q
P

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

published 3.0.3 3 years ago
M
Q
P

ANSI escape codes for styling strings in the terminal

published 6.2.1 a year ago
M
Q
P

Slice a string with ANSI escape codes

published 7.1.0 5 months ago
M
Q
P

Escape RegExp special characters

published 5.0.0 3 years ago
M
Q
P

Escape string for use in HTML

published 1.0.3 9 years ago
M
Q
P

ANSI escape codes for manipulating the terminal

published 6.2.0 a year ago
M
Q
P

Regular expression for matching ANSI escape codes

published 6.0.1 3 years ago
M
Q
P

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

published 6.0.0 9 months ago
M
Q
P

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

published 3.0.2 3 years ago
M
Q
P

ANSI escape codes for some terminal swag

published 1.0.5 4 years ago
M
Q
P

Sanitize a string for use as a filename

published 1.6.3 5 years ago
M
Q
P

A JavaScript ANSI color/style management. ANSI parsing. ANSI to CSS. Small, clean, no dependencies.

published 2.0.3 15 days ago
M
Q
P

Sanitize untrusted HTML (to prevent XSS) with a configuration specified by a Whitelist

published 1.0.15 16 days ago
M
Q
P

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

published 5.0.0 5 months ago
M
Q
P

A string manipulation toolbox, featuring a string formatter (inspired by sprintf), a variable inspector (output featuring ANSI colors and HTML) and various escape functions (shell argument, regexp, html, etc).

published 0.18.2 8 days ago
M
Q
P

micromark utility to decode markdown strings

published 2.0.0 9 months ago
M
Q
P

Escape carriage return the right way.

published 1.3.1 a year ago
M
Q
P