36 packages found
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.
- ada comments
- apl comments
- applescript comments
- block comment
- block
- block-comment
- c comments
- code comment
- comment
- comments
- csharp comments
- css comments
- css
- hashbang comments
- View more
Uses esprima to extract line and block comments from a string of JavaScript. Also optionally parses code context (the next line of code after a comment).
This is a temp fork of Jon Schlinkert's strip-comments with HTML removed for Safari Support
- ada comments
- apl comments
- applescript comments
- block comment
- block
- block-comment
- c comments
- code comment
- comment
- comments
- csharp comments
- css comments
- css
- hashbang comments
- View more
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.
- ada comments
- apl comments
- applescript comments
- block comment
- block
- block-comment
- c comments
- code comment
- comment
- comments
- csharp comments
- css comments
- css
- hashbang comments
- View more
Extract code comments from string or from a glob of files using esprima.
Extract JavaScript code comments from a string, using `acorn`. Optionally returns the AST and first line of code after comment - useful for parsing code context and api docs.
Uses babel (babylon) to extract JavaScript code comments from a JavaScript string or file.
Create custom comments RegExps. Leading and trailing space tolerant. With a content match.
Regular expression for matching JavaScript comments
RegExp for matching JavaScript-style block comments in a string. Should also work for SASS, LESS and other languages with the same block comment format.
Simple cli library to allow, fast allow/block of domains in /etc/hosts by adding, commenting and uncommenting [127.0.0.1 host] entries
Strip code between comment blocks or by regex.
Collection of custom ESLint rules
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.
- ada comments
- apl comments
- applescript comments
- block comment
- block
- block-comment
- c comments
- code comment
- comment
- comments
- csharp comments
- css comments
- css
- hashbang comments
- View more
Strip comments from JavaScript, CSS, HTML, TypeScript, and more via the command line
Uses esprima to extract line and block comments from a string of JavaScript. Also optionally parses code context (the next line of code after a comment).
A small tool to replace multiple single line comments with block comments
Uncomment html, js or css
Add additional styles to a block of text
Uncomment html, js or css