npm

387 packages found

M
Q
P

Description

Sanitize a string for use as a filename

Keywords

Publisher

published 1.6.33 months ago
M
Q
P

Description

ANSI escape codes for styling strings in the terminal

Keywords

Publisher

published 4.2.07 days ago
M
Q
P

Description

Regular expression for matching ANSI escape codes

Keywords

Publisher

published 5.0.0a month ago
M
Q
P

Description

ANSI escape codes for manipulating the terminal

Keywords

Publisher

published 4.3.02 days ago
M
Q
P

Description

Wordwrap a string with ANSI escape codes

Keywords

Publisher

published 6.2.07 days ago
M
Q
P

Description

Strip ANSI escape codes from a string

Keywords

Publisher

published 6.0.010 days ago
M
Q
P

Description

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

Keywords

Publisher

published 4.2.07 days ago
M
Q
P

Description

Escape RegExp special characters

Keywords

Publisher

published 2.0.07 months ago
M
Q
P

Description

Check if a string has ANSI escape codes

Keywords

Publisher

published 4.0.02 months ago
M
Q
P

Description

Slice a string with ANSI escape codes

Keywords

Publisher

published 3.0.02 months ago
M
Q
P

Description

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

Keywords

Publisher

published 1.0.68 months ago
M
Q
P

Description

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

Keywords

Publisher

published 2.5.2a year ago
M
Q
P

Description

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

Keywords

Publisher

published 3.0.09 months ago
M
Q
P

Description

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

Keywords

Publisher

published 6.1.07 months ago
M
Q
P

Description

ANSI escape codes for some terminal swag

Keywords

Publisher

published 1.0.48 days ago
M
Q
P

Description

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

Keywords

Publisher

published 3.1.08 months ago
M
Q
P

Description

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

Keywords

Publisher

published 3.1.08 months ago
M
Q
P

Description

Escape string for use in HTML

Keywords

Publisher

published 1.0.34 years ago
M
Q
P

Description

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

Keywords

Publisher

published 1.1.924 months ago
M
Q
P

Description

string contains methods that aren't included in the vanilla JavaScript string such as escaping html, decoding html entities, stripping tags, etc.

Keywords

Publisher

published 3.3.33 years ago