Diffdown is a real-time collaborative Markdown editor/previewer built on the AT Protocol diffdown.com
1# @lezer/javascript 2 3This is a JavaScript grammar for the 4[lezer](https://lezer.codemirror.net/) parser system. 5 6It parses modern JavaScript, and supports a `"ts"` 7[dialect](https://lezer.codemirror.net/docs/guide/#dialects) to parse 8TypeScript, and a `"jsx"` dialect to parse JSX. 9 10The `top` option can be set to `"SingleExpression"` or 11`"SingleClassItem"` to parse an expression or class item instead of a 12full program. 13 14The code is licensed under an MIT license.