251 packages found

M
Q
P

Description

Terminal string styling done right

Keywords

Publisher

published 2.4.15 months ago
M
Q
P

Description

Escape RegExp special characters

Keywords

Publisher

published 1.0.53 years ago
M
Q
P

Description

Indent each line in a string

Keywords

Publisher

published 3.2.0a year ago
M
Q
P

Description

Parse JSON with more helpful errors

Keywords

Publisher

published 4.0.0a year ago
M
Q
P

Description

Convert a camelized string into a lowercased one with a custom separator: unicornRainbow → unicorn_rainbow

Keywords

Publisher

published 2.0.08 months ago
M
Q
P

Description

Get the system locale

Keywords

Publisher

published 3.0.119 days ago
M
Q
P

Description

Repeat a string - fast

Keywords

Publisher

published 3.0.02 years ago
M
Q
P

Description

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

Keywords

Publisher

published 2.1.1a year ago
M
Q
P

Description

Strip leading whitespace from each line in a string

Keywords

Publisher

published 2.0.02 years ago
M
Q
P

Description

Check if the character represented by a given Unicode code point is fullwidth

Keywords

Publisher

published 2.0.02 years ago
M
Q
P

Description

ES2015 `String#codePointAt()` ponyfill

Keywords

Publisher

published 1.1.02 years ago
M
Q
P

Description

Trim newlines from the start and/or end of a string

Keywords

Publisher

published 2.0.0a year ago
M
Q
P

Description

Similar to String#trim() but removes only whitespace on the right

Keywords

Publisher

published 1.0.13 years ago
M
Q
P

Description

Check if a string or buffer is SVG

Keywords

Publisher

published 3.0.08 months ago
M
Q
P

Description

Mapping between standard locale identifiers and Windows locale identifiers (LCID)

Keywords

Publisher

published 2.0.0a month ago
M
Q
P

Description

Strip redundant indentation and indent the string

Keywords

Publisher

published 2.0.02 years ago
M
Q
P

Description

Generate a cryptographically strong random string

Keywords

Publisher

published 1.0.02 years ago
M
Q
P

Description

Generate a unique random string

Keywords

Publisher

published 1.0.02 years ago
M
Q
P

Description

Convert milliseconds to a human readable string: `1337000000` → `15d 11h 23m 20s`

Keywords

Publisher

published 4.0.0a day ago
M
Q
P

Description

Convert a buffer/string/array/object/iterable/promise into a stream

Keywords

Publisher

published 3.1.02 years ago