Search results

1000+ packages found

A lightweight and powerful collection of string utility functions for Node.js - trimming, casing, formatting, and more.

published version 1.0.1, 2 months ago1 dependents licensed under $MIT
80

Trimming string whitespace from object, array or string

published version 0.1.1, 9 years ago0 dependents licensed under $MIT
41

Opinionated HTML formatter focused towards making HTML diffs readable.

published version 6.0.1, 5 months ago15 dependents licensed under $MIT
5,516,671

A simple utility to format strings by trimming and converting to uppercase

published version 1.0.0, a month ago0 dependents licensed under $ISC
72

Advanced trimming of strings by providing lists of characters or full strings.

published version 1.2.2, 3 years ago0 dependents licensed under $MIT
34

character trimming for strings

published version 1.0.4, 2 years ago0 dependents licensed under $MIT
16

ANSI escape codes for styling strings in the terminal

published version 6.2.1, 3 years ago3658 dependents licensed under $MIT
1,937,087,858

Terminal string styling done right

published version 5.4.1, 7 months ago125242 dependents licensed under $MIT
1,624,884,422

Strip ANSI escape codes from a string

published version 7.1.0, 2 years ago9475 dependents licensed under $MIT
1,228,278,587

Regular expression for matching ANSI escape codes

published version 6.1.0, 10 months ago3201 dependents licensed under $MIT
1,137,630,937

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

published version 7.2.0, a year ago6580 dependents licensed under $MIT
1,026,299,161

Wordwrap a string with ANSI escape codes

published version 9.0.0, 2 years ago6218 dependents licensed under $MIT
892,054,915

Escape RegExp special characters

published version 5.0.0, 4 years ago5177 dependents licensed under $MIT
830,918,496

Get the native type of a value.

published version 6.0.3, 5 years ago1963 dependents licensed under $MIT
619,047,677

The string_decoder module from Node core

published version 1.3.0, 6 years ago2385 dependents licensed under $MIT
622,631,732

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

published version 5.0.0, 2 years ago2618 dependents licensed under $MIT
651,538,307

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

published version 8.0.0, 2 years ago6759 dependents licensed under $MIT
544,391,897

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

published version 9.0.1, a year ago2372 dependents licensed under $MIT
567,415,039

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

published version 5.0.0, 4 years ago1992 dependents licensed under $MIT
416,868,584

Parse JSON with more helpful errors

published version 8.3.0, 3 months ago1775 dependents licensed under $MIT
390,189,999