@sj1/lezer-nsl
TypeScript icon, indicating that this package has built-in type declarations

1.4.16 • Public • Published

@lezer/javascript

This is a JavaScript grammar for the lezer parser system.

It parses ES2020, 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.

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
1.4.160latest

Version History

VersionDownloads (Last 7 Days)Published
1.4.160

Package Sidebar

Install

npm i @sj1/lezer-nsl

Weekly Downloads

0

Version

1.4.16

License

MIT

Unpacked Size

315 kB

Total Files

21

Last publish

Collaborators

  • wangshilian