Skip to content
JS
Package

grammex

A tiny, PEG-like system for building language grammars with regexes.

v3.1.13, 11 Jul 2026MITESM onlyTypes: BundledParsers and serialisers
$ npm install grammex

Key numbers

As of 25 Sept 2026
Weekly downloads
4.6m
+8877% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
0
Direct, from package.json
Last release
2 months ago
v3.1.13
GitHub stars
25
2 forks
Open issues / PRs
0 / 1
Contributors
-
Commits, last 52 weeks
7

Downloads

Last week 2026-09-15 to 2026-09-21
02m4m6m8mSept 2025Mar 2026Sept 2026High 6.5m (18 Aug 2026)Low 53.7k (23 Sept 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

4,553,104 downloads last week, 23,515,292 in the last month. The 12-month change of +8877% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
321 in total
Latest version
3.1.13, 11 Jul 20262 months ago
First published
7 Feb 2023
Last push to GitHub
16 Jul 202670 days before the snapshot
Repository archived
No
Open issues
0
Open pull requests
1
Commits, last 52 weeks
7
Dependents on npm
9

Major versions

  1. v3 first release 3.0.0, 30 Jul 2023
  2. v2 first release 2.0.0, 25 Jul 2023
  3. v1 first release 1.0.0, 7 Feb 2023

Recent releases

VersionPublished
3.1.1311 Jul 2026
3.1.1228 Nov 2025
3.1.1119 Oct 2025
3.1.1017 Feb 2025
3.1.917 Feb 2025
3.1.817 Feb 2025
3.1.717 Feb 2025
3.1.617 Feb 2025
3.1.516 Feb 2025
3.1.416 Feb 2025
3.1.311 Feb 2024
3.1.23 Sept 2023
3.1.130 Jul 2023
3.1.030 Jul 2023
Module format
ESM onlyFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
28 kB
Dependencies (0)
None
npm install grammex
  • jsDelivrhttps://cdn.jsdelivr.net/npm/grammex@3.1.13/
  • unpkghttps://unpkg.com/grammex@3.1.13/
  • esm.shhttps://esm.sh/grammex@3.1.13
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.