Search results

417 packages found

Extract the non-magic parent path from a glob string.

published version 6.0.2, 4 years ago2688 dependents licensed under $ISC
539,231,281

Strip ANSI escape codes from a string

published version 7.1.0, 2 years ago9652 dependents licensed under $MIT
1,017,756,733

Strip the final newline character from a string or Uint8Array

published version 4.0.0, a year ago1370 dependents licensed under $MIT
241,826,773

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

published version 5.0.0, 4 years ago2142 dependents licensed under $MIT
319,169,846

Strip comments from JSON. Lets you use comments in your JSON files!

published version 5.0.2, 11 days ago3154 dependents licensed under $MIT
329,115,391

Strip leading whitespace from each line in a string

published version 4.0.0, 4 years ago1309 dependents licensed under $MIT
138,009,596

Strip redundant indentation and indent the string

published version 4.0.0, 4 years ago905 dependents licensed under $MIT
108,365,128

a few common utility template tags for ES2015

published version 1.8.2, 4 years ago1505 dependents licensed under $MIT
57,294,992

Normalize a URL

published version 8.0.1, a year ago1652 dependents licensed under $MIT
129,027,702

Removes separators from the end of the string.

published version 1.1.0, 8 years ago683 dependents licensed under $ISC
60,726,076

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

published version 5.0.0, 2 years ago672 dependents licensed under $MIT
66,279,753

Remove leading directory components from a path, like tar's --strip-components option

published version 3.0.0, 7 years ago55 dependents licensed under $ISC
16,123,549

Trim a consecutively repeated substring: foo--bar---baz → foo-bar-baz

published version 2.0.0, 4 years ago52 dependents licensed under $MIT
17,382,133

Strip a substring from the start/end of a string

published version 2.0.0, 4 years ago57 dependents licensed under $MIT
17,326,896

Strip line and/or block comments from a string. Blazing fast, and works with JavaScript, Sass, CSS, Less.js, and a number of other languages.

published version 2.0.1, 6 years ago429 dependents licensed under $MIT
19,789,414

Strip a byte order mark (BOM) from a string.

published version 1.0.0, 8 years ago35 dependents licensed under $MIT
9,540,902

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

published version 5.0.0, 4 years ago96 dependents licensed under $MIT
6,135,499

Remove a byte order mark (BOM) from a buffer.

published version 3.0.0, 8 years ago29 dependents licensed under $MIT
5,437,938

Change the skin tone of an emoji 👌👌🏻👌🏼👌🏽👌🏾👌🏿

published version 4.0.0, a year ago24 dependents licensed under $MIT
8,963,194

Add or remove backslashes (escape or unescape).

published version 3.0.12, 2 years ago73 dependents licensed under $ISC
4,901,371