Package
esprima
ECMAScript parsing infrastructure for multipurpose analysis
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
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
- v4 first release 4.0.0, 10 Jun 2017
- v3 first release 3.0.0, 3 Sept 2016
- v2 first release 2.0.0, 6 Feb 2015
- v1 first release 1.0.0, 22 Oct 2012
- v0 first release 0.7.0, 25 Nov 2011
Recent releases
| Version | Published |
|---|---|
| 4.0.1 | 13 Jul 2018 |
| 4.0.0 | 10 Jun 2017 |
| 3.1.3 | 23 Dec 2016 |
| 3.1.2 | 24 Nov 2016 |
| 3.1.1 | 1 Nov 2016 |
| 3.1.0 | 9 Oct 2016 |
| 3.0.0 | 3 Sept 2016 |
| 2.7.3 | 24 Aug 2016 |
| 2.7.2 | 3 Feb 2016 |
| 2.7.1 | 10 Dec 2015 |
| 2.7.0 | 22 Oct 2015 |
| 2.6.0 | 1 Sept 2015 |
| 2.5.0 | 1 Aug 2015 |
| 2.4.1 | 1 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 esprimaCDN
jsDelivr: 247.8k requests in 30 days
- jsDelivr
https://cdn.jsdelivr.net/npm/esprima@4.0.1/ - unpkg
https://unpkg.com/esprima@4.0.1/ - esm.sh
https://esm.sh/esprima@4.0.1
| Package | Weekly downloads | Gzip | Last release | Module | Comparison |
|---|---|---|---|---|---|
| meriyah | 7.5m | - | 20 days ago | ESM + CommonJS | esprima vs meriyah |
| @webassemblyjs/wasm-parser | 37m | - | 1 year ago | ESM + CommonJS | - |
| @webassemblyjs/wast-parser | 4m | - | 1 year ago | ESM + CommonJS | - |
| regexpp | 12.3m | - | 5 years ago | ESM + CommonJS | - |
| espree | 127.8m | - | 6 months ago | ESM + CommonJS | - |
| snapdragon-node | 9.2m | - | 7 years ago | CommonJS | - |
| html5parser | 1.8m | - | 4 months ago | ESM + CommonJS | - |
| css-tree | 88.1m | - | 6 months ago | ESM + CommonJS | - |
Related
Indexability: Indexed.