Removes module structure from a NodeJS module.
Strip comments from JSON. Lets you use comments in your JSON files!
Strip UTF-8 byte order mark (BOM) from a string
Strip ANSI escape codes from a string
Strip leading whitespace from each line in a string
Strip UTF-8 byte order mark (BOM) from a stream
Strip UTF-8 byte order mark (BOM) from a Uint8Array
Strip flow type annotations from your output code.
Strip comments from code
Strip comments and string literals from JavaScript code
Strip console and debugger statements from JavaScript code
Check if a string has ANSI escape codes
Strip the final newline character from a string or Uint8Array
Repair broken JSON documents
Strip comments from CSS
Strip a byte order mark (BOM) from a string.
Remove leading directory components from a path, like tar's --strip-components option
Strip a substring from the start/end of a string
Strip comments from CSS
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.
Strip comments from JSON. Lets you use comments in your JSON files!
Indent each line in a string
Strip comments from a Pug token stream (from the lexer)
A simple method that will strip a valid hex prefix off a string, if present.