Search results

663 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.

published version 2.0.1, 5 years ago425 dependents licensed under $MIT
15,002,941

Maintained replacement for ESLint's deprecated SourceCode#getJSDocComment along with other jsdoc utilities

published version 0.50.0, 3 months ago12 dependents licensed under $MIT
7,642,153

Additional ESLint rules for ESLint directive comments.

published version 3.2.0, 5 years ago1920 dependents licensed under $MIT
6,809,234

Parse JavaScript one character at a time to look for snippets in Templates. This is not a validator, it's just designed to allow you to have sections of JavaScript delimited by brackets robustly.

published version 4.0.0, 3 years ago61 dependents licensed under $MIT
5,405,700

Attach comments to estree nodes

published version 3.0.0, a year ago12 dependents licensed under $MIT
4,856,010

Uses babel (babylon) to extract JavaScript code comments from a JavaScript string or file.

published version 1.0.0, 7 years ago6 dependents licensed under $MIT
2,833,331

Regular expression for matching HTML comments

published version 1.1.2, 6 years ago77 dependents licensed under $MIT
3,605,235

Additional ESLint rules for ESLint directive comments.

published version 4.4.1, 3 months ago158 dependents licensed under $MIT
912,275

Enable, disable, and ignore messages from unified processors

published version 5.0.0, a year ago6 dependents licensed under $MIT
747,503

Remark plugin to support comments

published version 1.0.0, 2 years ago3 dependents licensed under $MIT
759,795

mdast utility to parse a comment marker

published version 3.0.0, 2 years ago12 dependents licensed under $MIT
757,661

remark plugin to enable, disable, and ignore messages with remark

published version 8.0.0, a year ago22 dependents licensed under $MIT
763,533

A Prettier plugin to format JSDoc comments.

published version 1.3.2, 12 days ago74 dependents licensed under $MIT
385,986

License detector for UglifyJS

published version 0.4.1, 11 years ago40 dependents
418,336

Create an inline source map comment from a source map

published version 1.0.5, 10 years ago22 dependents
263,355

Wrap content in a comment that is valid for a given file type.

published version 1.1.0, 6 years ago12 dependents licensed under $MIT
276,672

hast utility to check if a node is a conditional comment

published version 3.0.1, 4 months ago1 dependents licensed under $MIT
236,250

JavaScript image annotation

published version 2.32.3, 3 months ago16 dependents licensed under $SEE LICENSE IN LICENSE
305,549

rehype plugin to remove comments (except conditional comments)

published version 6.1.1, 4 months ago22 dependents licensed under $MIT
236,540

JSON.minify() minifies blocks of JSON-like content into valid JSON by removing all whitespace *and* comments.

published version 0.4.2, 3 years ago132 dependents licensed under $MIT
240,485