Search results

682 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, 6 years ago432 dependents licensed under $MIT
21,318,771

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

published version 0.50.2, a month ago13 dependents licensed under $MIT
13,120,367

Additional ESLint rules for ESLint directive comments.

published version 3.2.0, 5 years ago1915 dependents licensed under $MIT
10,857,318

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 ago62 dependents licensed under $MIT
8,813,064

Attach comments to estree nodes

published version 3.0.0, 2 years ago14 dependents licensed under $MIT
8,266,947

Regular expression for matching HTML comments

published version 1.1.2, 7 years ago79 dependents licensed under $MIT
6,022,411

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
3,752,496

Additional ESLint rules for ESLint directive comments.

published version 4.5.0, 2 months ago235 dependents licensed under $MIT
2,271,982

Remark plugin to support comments

published version 1.0.0, 2 years ago3 dependents licensed under $MIT
1,307,929

Enable, disable, and ignore messages from unified processors

published version 5.0.0, 2 years ago7 dependents licensed under $MIT
868,182

mdast utility to parse a comment marker

published version 3.0.0, 2 years ago12 dependents licensed under $MIT
908,463

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

published version 8.0.0, 2 years ago24 dependents licensed under $MIT
874,067

A Prettier plugin to format JSDoc comments.

published version 1.3.2, 5 months ago91 dependents licensed under $MIT
572,156

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

published version 1.1.0, 6 years ago11 dependents licensed under $MIT
597,378

Create an inline source map comment from a source map

published version 1.0.5, 10 years ago22 dependents
580,348

License detector for UglifyJS

published version 0.4.1, 11 years ago40 dependents
484,701

JavaScript image annotation

published version 2.32.4, 3 months ago16 dependents licensed under $SEE LICENSE IN LICENSE
526,052

hast utility to check if a node is a conditional comment

published version 3.0.1, 9 months ago1 dependents licensed under $MIT
333,841

Relaxed JSON is strict superset JSON, relaxing strictness of valilla JSON

published version 1.0.3, 6 years ago60 dependents licensed under $BSD-3-Clause
433,680

Extract code comments from string or from a glob of files using esprima.

published version 1.1.0, 7 years ago25 dependents licensed under $MIT
347,342