Search results

1000+ packages found

ANSI escape codes for styling strings in the terminal

published version 6.2.1, 3 years ago3669 dependents licensed under $MIT
2,048,721,014

Regular expression for matching ANSI escape codes

published version 6.1.0, 10 months ago3205 dependents licensed under $MIT
1,211,664,279

Terminal string styling done right

published version 5.4.1, 7 months ago125982 dependents licensed under $MIT
1,715,499,913

Strip ANSI escape codes from a string

published version 7.1.0, 2 years ago9526 dependents licensed under $MIT
1,310,368,529

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

published version 7.2.0, a year ago6609 dependents licensed under $MIT
1,091,482,453

Escape RegExp special characters

published version 5.0.0, 4 years ago5190 dependents licensed under $MIT
868,173,170

Wordwrap a string with ANSI escape codes

published version 9.0.0, 2 years ago6228 dependents licensed under $MIT
945,006,754

Get the native type of a value.

published version 6.0.3, 6 years ago1966 dependents licensed under $MIT
664,877,145

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

published version 5.0.0, 2 years ago2625 dependents licensed under $MIT
693,582,959

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

published version 9.0.1, a year ago2377 dependents licensed under $MIT
601,891,742

The string_decoder module from Node core

published version 1.3.0, 6 years ago2386 dependents licensed under $MIT
660,128,290

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

published version 8.0.0, 2 years ago6765 dependents licensed under $MIT
577,989,160

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

published version 3.1.0, 7 months ago1936 dependents licensed under $MIT
448,903,720

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

published version 5.0.0, 4 years ago1995 dependents licensed under $MIT
443,532,172

Parse JSON with more helpful errors

published version 8.3.0, 3 months ago1769 dependents licensed under $MIT
415,372,488

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 ago2749 dependents licensed under $MIT
421,656,048

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

published version 3.1.3, 3 years ago2423 dependents licensed under $ISC
356,898,569

Returns true if a string has an extglob.

published version 2.1.1, 9 years ago2202 dependents licensed under $MIT
352,358,602

ANSI escape codes for manipulating the terminal

published version 7.0.0, a year ago2561 dependents licensed under $MIT
366,359,351

Compare strings containing a mix of letters and numbers in the way a human being would in sort order.

published version 1.4.0, 9 years ago1603 dependents licensed under $MIT
256,586,071