Skip to content
JS
Package

esprima-extract-comments

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

v1.1.0, 12 Feb 2018MITCommonJSTypes: NoneFiles and file systems
$ npm install esprima-extract-comments

Key numbers

As of 25 Sept 2026
Weekly downloads
94.5k
+24% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
1
Direct, from package.json
Last release
8 years ago
v1.1.0
GitHub stars
14
1 forks
Open issues / PRs
0 / 0
Contributors
-
Commits, last 52 weeks
0

Downloads

Last week 2026-09-15 to 2026-09-21
050k100k150kSept 2025Mar 2026Sept 2026High 121.2k (21 Jul 2026)Low 39k (23 Dec 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

94,453 downloads last week, 356,035 in the last month. The 12-month change of +24% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
-
Latest version
1.1.0, 12 Feb 20188 years ago
First published
-
Last push to GitHub
12 Feb 20183,146 days before the snapshot
Repository archived
No
Open issues
0
Open pull requests
0
Commits, last 52 weeks
0
Dependents on npm
23

Major versions

-

Recent releases

-

Module format
CommonJSFrom package.json type, main and exports fields
TypeScript types
None
Node.js engine range
>=4
Runtimes
-
Unpacked size (npm)
9.2 kB
Dependencies (1)
esprima
npm install esprima-extract-comments
  • jsDelivrhttps://cdn.jsdelivr.net/npm/esprima-extract-comments@1.1.0/
  • unpkghttps://unpkg.com/esprima-extract-comments@1.1.0/
  • esm.shhttps://esm.sh/esprima-extract-comments@1.1.0
PackageWeekly downloadsGzipLast releaseModuleComparison
babel-extract-comments1.4m-8 years ago--
@putout/operator-filesystem10.8k-19 days agoESM only-
@putout/processor-filesystem7.5k-7 months agoESM only-
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.