38 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
JSON.minify() minifies blocks of JSON-like content into valid JSON by removing all whitespace *and* comments.
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).
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.
Uses babel (babylon) to extract JavaScript code comments from a JavaScript string or file.
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
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.
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
Toggle comments inside build blocks.
Webpack loader to strip blocks of code marked by steal-remove or predefined comment tags
Regular expression for matching JavaScript comments
Create custom comments RegExps. Leading and trailing space tolerant. With a content match.
Strip code between comment blocks or by regex.
Webpack loader to strip blocks of code marked by steal-remove or predefined comment tags
JSON.minify() minifies blocks of JSON-like content into valid JSON by removing all whitespace *and* comments.
Simple module designed to create header blocks for source files from package.json data
Collection of custom ESLint rules
Add additional styles to a block of text