Search results

1000+ packages found

ANSI escape codes for styling strings in the terminal

published version 6.2.1, 3 years ago3850 dependents licensed under $MIT
1,655,670,560

Terminal string styling done right

published version 5.4.1, 6 months ago126900 dependents licensed under $MIT
1,382,462,812

Strip ANSI escape codes from a string

published version 7.1.0, 2 years ago9672 dependents licensed under $MIT
1,074,202,946

Regular expression for matching ANSI escape codes

published version 6.1.0, 9 months ago3367 dependents licensed under $MIT
1,018,662,289

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

published version 7.2.0, a year ago6727 dependents licensed under $MIT
894,409,299

Escape RegExp special characters

published version 5.0.0, 4 years ago5441 dependents licensed under $MIT
718,479,101

Wordwrap a string with ANSI escape codes

published version 9.0.0, 2 years ago6347 dependents licensed under $MIT
823,915,744

Get the native type of a value.

published version 6.0.3, 5 years ago2146 dependents licensed under $MIT
495,175,538

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

published version 5.0.0, 2 years ago2783 dependents licensed under $MIT
580,846,870

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

published version 9.0.1, a year ago2609 dependents licensed under $MIT
498,467,249

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

published version 5.0.0, 4 years ago2146 dependents licensed under $MIT
349,107,997

The string_decoder module from Node core

published version 1.3.0, 6 years ago2566 dependents licensed under $MIT
560,553,102

Parse JSON with more helpful errors

published version 8.3.0, 2 months ago1913 dependents licensed under $MIT
326,311,921

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

published version 8.0.0, 2 years ago7368 dependents licensed under $MIT
463,829,877

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

published version 3.1.0, 6 months ago2119 dependents licensed under $MIT
361,984,002

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, 4 years ago2913 dependents licensed under $MIT
339,101,429

ANSI escape codes for manipulating the terminal

published version 7.0.0, a year ago2724 dependents licensed under $MIT
292,990,788

Matches strings against configurable strings, globs, regular expressions, and/or functions

published version 3.1.3, 3 years ago2598 dependents licensed under $ISC
286,968,959

Strip the final newline character from a string or Uint8Array

published version 4.0.0, a year ago1373 dependents licensed under $MIT
253,771,214

Returns true if a string has an extglob.

published version 2.1.1, 8 years ago2357 dependents licensed under $MIT
288,707,710