High-performance JavaScript/TypeScript parser written in Zig, producing ESTree-compliant AST for JS/JSX and TypeScript-ESTree AST for TS/TSX. Features full support for Stage 3 decorators, import defer, import source, and hashbang. Provides fast offset-to-line/column resolution via locOf/locNear. Current stable version is 0.5.28. Released under Apache-2.0 license. Key differentiator: extreme speed (native Zig) while maintaining spec compliance identical to Acorn and @typescript-eslint/parser.
No compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Package is ESM-only; CommonJS require not supported.
Exported from main entry point.
Exported from main entry point.
Use import type for type-only imports in TypeScript; runtime import will fail because AST types are not values.
Parses a JSX/TSX file, converts offset to line/column, and shows diagnostics.
Breaking-change detection hasn't run for this library yet.
CVE tracking and dependency tree are planned for a later release.