Skip to content
JS
Package

nearley

Simple, fast, powerful parser toolkit for JavaScript.

v2.20.1, 6 Dec 2020MITCommonJSTypes: NoneParsers and serialisers
$ npm install nearley

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
02m4m6m8mSept 2025Mar 2026Sept 2026High 8m (25 Aug 2026)Low 1.7m (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.

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

  1. v2 first release 2.0.0, 28 Dec 2015
  2. v1 first release 1.0.0, 16 Oct 2014
  3. v0 first release 0.0.1, 23 Feb 2014

Recent releases

VersionPublished
2.20.16 Dec 2020
2.20.04 Dec 2020
2.19.929 Nov 2020
2.19.821 Nov 2020
2.19.720 Sept 2020
2.19.620 Aug 2020
2.19.515 Jul 2020
2.19.416 Jun 2020
2.19.31 May 2020
2.19.213 Apr 2020
2.19.116 Jan 2020
2.19.031 Aug 2019
2.18.030 Jul 2019
2.17.028 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
  • jsDelivrhttps://cdn.jsdelivr.net/npm/nearley@2.20.1/
  • unpkghttps://unpkg.com/nearley@2.20.1/
  • esm.shhttps://esm.sh/nearley@2.20.1
PackageWeekly downloadsGzipLast releaseModuleComparison
@mongodb-js/nearley200.7k-6 years agoCommonJS-
snapdragon-node9.2m-7 years agoCommonJS-
snapdragon-util9.2m-8 years agoCommonJS-
@rgrove/parse-xml115.6k-26 days agoESM only-
ohm-js630.5k-7 months agoESM + CommonJS-
remarkable996.7k-6 years agoESM + CommonJS-
parse-imports818.4k-1 year agoESM only-
chevrotain7.1m-1 month agoESM + CommonJS-
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.