extract-comments v1.1.0

npm

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

Updated View on npm →
Version
1.1.0
15d ago
License
MIT
15d ago
Weekly Downloads
79.3K
2d ago
Dependencies
2
15d ago
Required Runtime
>=6
15d ago
Deprecated
No
15d ago

Weekly downloads

Release activity

1 release tracked. Last release: 15 days ago.

v1.1.0 current
v1.1.0 Mar 21, 2026

Last changed

Field Change When
weekly_downloads (none) 79253 2d ago
license (none) MIT 15d ago
latest_version (none) 1.1.0 15d ago
required_runtime (none) >=6 15d ago
dep_count (none) 2 15d ago
deprecated (none) false 15d ago

Use it

REST API
$ curl
https://api.grounded-api.dev/v1/npm/extract-comments/latest_version
{ "value": "1.1.0" }
CLI
$ npx grounded-cli extract-comments
extract-comments@1.1.0 (npm)