ts-pegjs
JSON →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.
Traffic · last 30 days stale · no recent hits
total hits 16
actors 5 distinct systems
last hit 15d ago AhrefsBot
top countries 🇺🇸 United States · 🇨🇦 Canada · 🇨🇳 China · 🇩🇪 Germany · 🇫🇷 France
API endpoints
full doc /v1/registry/ts-pegjs
install /v1/registry/ts-pegjs/install
compatibility /v1/registry/ts-pegjs/compatibility