Strips improperly truncated percent encodings
Strip comments from JSON. Lets you use comments in your JSON files!
Strip leading whitespace from each line in a string
Repair broken JSON documents
Strip the final newline character from a string or Uint8Array
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
Map of invalid numeric character references to their replacements, according to HTML
TOML parser for Node.js (TOML v1.1.0 compliant)
JSON for Humans
Strip flow type annotations from your output code.
Strip comments and string literals from JavaScript code
A trailing node plugin for the prosemirror editor.
An absurdly small JSONC parser.
Remove the trailing spaces from a string.
Removes separators from the end of the string.
Strip a byte order mark (BOM) from a string.
Strip trailing comma from JSON files
Operating systems commonly add a trailing increment, or the word 'copy', or something similar to duplicate files. This strips those increments. Tested on Windows, MacOS, and Linux.
Remove leading directory components from a path, like tar's --strip-components option
Strip a substring from the start/end of a string
remark-lint rule to warn when lines end with trailing spaces
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.