Load and strip JS-type comments from JSON file, easy and fast!
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
Repair broken JSON documents
Strip leading whitespace from each line in a string
Strip flow type annotations from your output code.
Strip comments from JSON. Lets you use comments in your JSON files!
Strip comments and string literals from JavaScript code
Strip the final newline character from a string or Uint8Array
Parse and stringify JSON with comments. It will retain comments even after saved!
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 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 UTF-8 byte order mark (BOM) from a stream
Require .json files with comments
Strip comments from a Pug token stream (from the lexer)
Strip UTF-8 byte order mark (BOM) from a Uint8Array
strip comments from your json
A simple method that will strip a valid hex prefix off a string, if present.
Read and parse a JSON file
Check if a string has ANSI escape codes
Strip HTML tags from strings. No parser, accepts mixed sources.