Package
nearley
Simple, fast, powerful parser toolkit for JavaScript.
Key numbers
As of 25 Sept 2026
- Weekly downloads
- 5.9m
- +94% over 12 months
- Gzip bundle size
- -
- No Bundlephobia data
- Dependencies
- 4
- Direct, from package.json
- Last release
- 5 years ago
- v2.20.1
- GitHub stars
- 3.7k
- 236 forks
- Open issues / PRs
- 167 / 32
- Contributors
- -
- Commits, last 52 weeks
- 0
Downloads
Last week 2026-09-15 to 2026-09-21
5,851,071 downloads last week, 27,720,235 in the last month. The 12-month change of +94% compares the average of the last 4 weeks with the first 4 weeks of the series.
- Releases, last 12 months
- 092 in total
- Latest version
- 2.20.1, 6 Dec 20205 years ago
- First published
- 23 Feb 2014
- Last push to GitHub
- 14 Nov 2024680 days before the snapshot
- Repository archived
- No
- Open issues
- 167
- Open pull requests
- 32
- Commits, last 52 weeks
- 0
- Dependents on npm
- 431
Major versions
- v2 first release 2.0.0, 28 Dec 2015
- v1 first release 1.0.0, 16 Oct 2014
- v0 first release 0.0.1, 23 Feb 2014
Recent releases
| Version | Published |
|---|---|
| 2.20.1 | 6 Dec 2020 |
| 2.20.0 | 4 Dec 2020 |
| 2.19.9 | 29 Nov 2020 |
| 2.19.8 | 21 Nov 2020 |
| 2.19.7 | 20 Sept 2020 |
| 2.19.6 | 20 Aug 2020 |
| 2.19.5 | 15 Jul 2020 |
| 2.19.4 | 16 Jun 2020 |
| 2.19.3 | 1 May 2020 |
| 2.19.2 | 13 Apr 2020 |
| 2.19.1 | 16 Jan 2020 |
| 2.19.0 | 31 Aug 2019 |
| 2.18.0 | 30 Jul 2019 |
| 2.17.0 | 28 Jul 2019 |
- Module format
- CommonJSFrom package.json type, main and exports fields
- TypeScript types
- None
- Node.js engine range
- Not declared
- Runtimes
- -
- Unpacked size (npm)
- 74 kB
- Dependencies (4)
moorandexpcommanderrailroad-diagrams
npm install nearley- jsDelivr
https://cdn.jsdelivr.net/npm/nearley@2.20.1/ - unpkg
https://unpkg.com/nearley@2.20.1/ - esm.sh
https://esm.sh/nearley@2.20.1
| Package | Weekly downloads | Gzip | Last release | Module | Comparison |
|---|---|---|---|---|---|
| @mongodb-js/nearley | 200.7k | - | 6 years ago | CommonJS | - |
| snapdragon-node | 9.2m | - | 7 years ago | CommonJS | - |
| snapdragon-util | 9.2m | - | 8 years ago | CommonJS | - |
| @rgrove/parse-xml | 115.6k | - | 26 days ago | ESM only | - |
| ohm-js | 630.5k | - | 7 months ago | ESM + CommonJS | - |
| remarkable | 996.7k | - | 6 years ago | ESM + CommonJS | - |
| parse-imports | 818.4k | - | 1 year ago | ESM only | - |
| chevrotain | 7.1m | - | 1 month ago | ESM + CommonJS | - |
Indexability: Indexed.