Skip to content
JS
Package

esprima

ECMAScript parsing infrastructure for multipurpose analysis

v4.0.1, 13 Jul 2018BSD-2-ClauseCommonJSTypes: NoneParsers and serialisers
$ npm install esprima

Key numbers

As of 25 Sept 2026
Weekly downloads
85m
+40% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
0
Direct, from package.json
Last release
8 years ago
v4.0.1
GitHub stars
7.1k
772 forks
Open issues / PRs
140 / 11
Contributors
69
Commits, last 52 weeks
0

Downloads

Last week 2026-09-15 to 2026-09-21
050m100m150mSept 2025Mar 2026Sept 2026High 111.9m (25 Aug 2026)Low 35.1m (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.

84,950,324 downloads last week, 370,905,674 in the last month. The 12-month change of +40% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
046 in total
Latest version
4.0.1, 13 Jul 20188 years ago
First published
25 Nov 2011
Last push to GitHub
16 Apr 20231,258 days before the snapshot
Repository archived
No
Open issues
140
Open pull requests
11
Commits, last 52 weeks
0
Dependents on npm
3,647

Major versions

  1. v4 first release 4.0.0, 10 Jun 2017
  2. v3 first release 3.0.0, 3 Sept 2016
  3. v2 first release 2.0.0, 6 Feb 2015
  4. v1 first release 1.0.0, 22 Oct 2012
  5. v0 first release 0.7.0, 25 Nov 2011

Recent releases

VersionPublished
4.0.113 Jul 2018
4.0.010 Jun 2017
3.1.323 Dec 2016
3.1.224 Nov 2016
3.1.11 Nov 2016
3.1.09 Oct 2016
3.0.03 Sept 2016
2.7.324 Aug 2016
2.7.23 Feb 2016
2.7.110 Dec 2015
2.7.022 Oct 2015
2.6.01 Sept 2015
2.5.01 Aug 2015
2.4.11 Jul 2015
Module format
CommonJSFrom package.json type, main and exports fields
TypeScript types
None
Node.js engine range
>=4
Runtimes
-
Unpacked size (npm)
307 kB
Dependencies (0)
None
npm install esprima

CDN

jsDelivr: 247.8k requests in 30 days
  • jsDelivrhttps://cdn.jsdelivr.net/npm/esprima@4.0.1/
  • unpkghttps://unpkg.com/esprima@4.0.1/
  • esm.shhttps://esm.sh/esprima@4.0.1
PackageWeekly downloadsGzipLast releaseModuleComparison
meriyah7.5m-20 days agoESM + CommonJSesprima vs meriyah
@webassemblyjs/wasm-parser37m-1 year agoESM + CommonJS-
@webassemblyjs/wast-parser4m-1 year agoESM + CommonJS-
regexpp12.3m-5 years agoESM + CommonJS-
espree127.8m-6 months agoESM + CommonJS-
snapdragon-node9.2m-7 years agoCommonJS-
html5parser1.8m-4 months agoESM + CommonJS-
css-tree88.1m-6 months agoESM + CommonJS-

Related

Sources: npm registry, npm downloads API, GitHub API, jsDelivr. Data fetched 25 Sept 2026.

Indexability: Indexed.