Search results

1000+ packages found

Trimming string whitespace from object, array or string

published version 0.1.1, 8 years ago0 dependents licensed under $MIT
155

Opinionated HTML formatter focused towards making HTML diffs readable.

published version 5.0.0, 3 years ago14 dependents licensed under $MIT
4,067,084

ANSI escape codes for styling strings in the terminal

published version 6.2.1, 2 years ago3731 dependents licensed under $MIT
1,460,382,485

Terminal string styling done right

published version 5.4.1, 18 hours ago120584 dependents licensed under $MIT
1,253,071,379

Strip ANSI escape codes from a string

published version 7.1.0, 2 years ago9392 dependents licensed under $MIT
850,653,081

Escape RegExp special characters

published version 5.0.0, 4 years ago5324 dependents licensed under $MIT
583,905,291

Regular expression for matching ANSI escape codes

published version 6.1.0, 3 months ago3259 dependents licensed under $MIT
789,463,462

Wordwrap a string with ANSI escape codes

published version 9.0.0, a year ago6164 dependents licensed under $MIT
624,039,965

Get the native type of a value.

published version 6.0.3, 5 years ago2066 dependents licensed under $MIT
507,902,637

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

published version 7.2.0, 6 months ago6539 dependents licensed under $MIT
698,370,871

The string_decoder module from Node core

published version 1.3.0, 5 years ago2513 dependents licensed under $MIT
484,737,452

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

published version 5.0.0, a year ago2687 dependents licensed under $MIT
466,426,824

Get a stream as a string, Buffer, ArrayBuffer or array

published version 9.0.1, 9 months ago2543 dependents licensed under $MIT
432,960,637

Convert a dash/dot/underscore/space separated string to camelCase or PascalCase: `foo-bar` → `fooBar`

published version 8.0.0, a year ago7250 dependents licensed under $MIT
369,061,727

Strip UTF-8 byte order mark (BOM) from a string

published version 5.0.0, 4 years ago2085 dependents licensed under $MIT
285,310,202

Parse JSON with more helpful errors

published version 8.1.0, a year ago1846 dependents licensed under $MIT
263,543,007

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

published version 3.1.0, 11 days ago2008 dependents licensed under $MIT
286,477,376

Returns `true` if the given string looks like a glob pattern or an extglob pattern. This makes it easy to create code that only uses external modules like node-glob when necessary, resulting in much faster code execution and initialization time, and a bet

published version 4.0.3, 3 years ago2831 dependents licensed under $MIT
273,714,720

Returns true if a string has an extglob.

published version 2.1.1, 8 years ago2279 dependents licensed under $MIT
226,400,307

Slice a string with ANSI escape codes

published version 7.1.0, a year ago1004 dependents licensed under $MIT
218,015,518