Search results

421 packages found

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

published version 6.0.2, 4 years ago2692 dependents licensed under $ISC
566,983,122

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

Strip ANSI escape codes from a string

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

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

published version 5.0.2, 23 days ago3160 dependents licensed under $MIT
357,295,409

Strip redundant indentation and indent the string

published version 4.0.0, 4 years ago906 dependents licensed under $MIT
116,002,715

Strip leading whitespace from each line in a string

published version 4.0.0, 4 years ago1313 dependents licensed under $MIT
147,232,363

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

a few common utility template tags for ES2015

published version 1.8.2, 4 years ago1509 dependents licensed under $MIT
59,366,235

Normalize a URL

published version 8.0.1, a year ago1652 dependents licensed under $MIT
135,524,623

Removes separators from the end of the string.

published version 1.1.0, 8 years ago683 dependents licensed under $ISC
65,193,748

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

published version 5.0.0, 2 years ago672 dependents licensed under $MIT
70,864,431

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,691,750

Strip a substring from the start/end of a string

published version 2.0.0, 4 years ago57 dependents licensed under $MIT
17,794,569

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

published version 1.0.0, 8 years ago35 dependents licensed under $MIT
10,060,356

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

published version 2.0.0, 4 years ago52 dependents licensed under $MIT
17,845,197

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

published version 5.0.0, 4 years ago96 dependents licensed under $MIT
6,163,825

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 ago431 dependents licensed under $MIT
20,886,471

unist utility to remove nodes from a tree

published version 4.0.0, 2 years ago229 dependents licensed under $MIT
8,897,192

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

published version 3.0.0, 8 years ago29 dependents licensed under $MIT
5,796,368

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

published version 4.0.0, 2 years ago28 dependents licensed under $MIT
4,665,197