npmpackage.info logo

npmpackage.info

acorn-extract-comments

Extract JavaScript code (block, jsdoc style) 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.

0.2.0
4
MIT
JavaScript
18.83 kB
9,5803.9

Score

3.9

/10

Last Scanned on 2025-02-03

The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.

Learn More

Disclaimer: We do not own or store the data displayed on this website. Data is cached for up to 3 hours to improve performance.