Strip or extract comments, strings or both from source code.
Strip comments from JSON. Lets you use comments in your JSON files!
Parse and stringify JSON with comments. It will retain comments even after saved!
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 and string literals from JavaScript code
Strip comments from a Pug token stream (from the lexer)
Strip leading whitespace from each line in a string
Repair broken JSON documents
Strip comments from JSON. Lets you use comments in your JSON files!
Strip ANSI escape codes from a string
Strip UTF-8 byte order mark (BOM) from 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.
Require .json files with comments
TypeScript definitions for strip-comments
strip comments from your json
JSON for humans and machines
Strip HTML tags from strings. No parser, accepts mixed sources.
Strip flow type annotations from your output code.
Remove HTML comments from a string.
Strip comments from code
Strip the final newline character from a string or Uint8Array
Strip a byte order mark (BOM) from a string.
Easily remove Unicode combining marks from strings.