Preparing for system design interviews?  Try bugzed.com →

ts-pegjs

JSON →
library 4.2.1 ·javascript
verified Jun 17, 2026

TS PEG.js is a TypeScript code generation plugin for peggy parser generator (v3+). Current stable version is 4.2.1, compatible with peggy ^3.0.2. It generates TypeScript parsers from PEG grammars, supporting custom headers, return type annotations, and various options for type computation. Key differentiators: first-class TypeScript output, supports both CommonJS and ESM formats, and integrates seamlessly with peggy's CLI and API. Previously supported pegjs, now exclusively peggy. Notable breaking changes in v3.0.0 include renaming exported interfaces (dropping 'I' prefix) and changing the default error name from SyntaxError to PeggySyntaxError.

total hits 16
actors 5 distinct systems
last hit 15d ago AhrefsBot
GPTBot
4
Amazonbot
4
Script
1
ByteDance
1
Humans
2

top countries 🇺🇸 United States · 🇨🇦 Canada · 🇨🇳 China · 🇩🇪 Germany · 🇫🇷 France