A JavaScript lezer grammar
  • JavaScript 100%
Find a file
2026-04-14 17:24:26 +02:00
dist Conform to expectation of recent TS versions 2023-07-03 10:47:56 +02:00
src Support this parameter types in TypeScript function types 2025-09-18 14:15:22 +02:00
test Support this parameter types in TypeScript function types 2025-09-18 14:15:22 +02:00
.gitignore Set up as separate repository 2019-05-21 12:52:44 +02:00
.npmignore Mark version 0.1.0 2019-07-09 20:56:20 +02:00
CHANGELOG.md Mark version 1.5.4 2025-09-18 14:15:28 +02:00
LICENSE Update maintainer email 2023-01-24 08:28:48 +01:00
package.json Update github links 2026-04-14 17:24:26 +02:00
README.md Drop outdated ES version in readme 2024-11-26 08:54:07 +01:00
rollup.config.js Conform to expectation of recent TS versions 2023-07-03 10:47:56 +02:00

@lezer/javascript

This is a JavaScript grammar for the lezer parser system.

It parses modern JavaScript, and supports a "ts" dialect to parse TypeScript, and a "jsx" dialect to parse JSX.

The top option can be set to "SingleExpression" or "SingleClassItem" to parse an expression or class item instead of a full program.

The code is licensed under an MIT license.