Strip shebang (Example: #!/bin/sh) from a string
Strip shebang (Example: #!/bin/sh) from a string
A Rollup.js plugin to remove and optionally extract shebang.
Regular expression for matching a shebang line
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.
Get the command from a shebang
Strip ANSI escape codes from a string
Strip UTF-8 byte order mark (BOM) from a string
Strip comments from JSON. Lets you use comments in your JSON files!
Strip leading whitespace from each line in a string
Strip flow type annotations from your output code.
Strip comments and string literals from JavaScript code
Strip the final newline character from a string or Uint8Array
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 a byte order mark (BOM) from a string.
Strip a substring from the start/end of a string
Remove leading directory components from a path, like tar's --strip-components option
Strip UTF-8 byte order mark (BOM) from a stream
Strip comments from a Pug token stream (from the lexer)
Strip UTF-8 byte order mark (BOM) from a Uint8Array
A simple method that will strip a valid hex prefix off a string, if present.
Check if a string has ANSI escape codes
Strip HTML tags from strings. No parser, accepts mixed sources.
TypeScript execution environment and REPL for node.js, with source map support