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