Strip ANSI escape codes from a string
Strip comments from JSON. Lets you use comments in your JSON files!
Normalize a URL
Strip UTF-8 byte order mark (BOM) from a string
Similar to String#trim() but removes only whitespace on the right
Strip redundant indentation and indent the string
Trim newlines from the start and/or end of a string
ES7 spec-compliant String.prototype.padEnd shim.
ES5 spec-compliant shim for String.prototype.trim
Remove final newline characters from a string
ES7 spec-compliant String.prototype.padStart shim.
Trim a consecutively repeated substring: foo--bar---baz → foo-bar-baz
Similar to String#trim() but removes only newlines
Strip UTF-8 byte order mark (BOM) from a stream
Strip a substring from the start/end of a string
Strip UTF-8 byte order mark (BOM) from a buffer
Remove spaces and tabs around line-breaks
Strip comments from CSS
powered by npms.io 🚀