Prebuilt WASM binaries for tree-sitter's language parsers.
npm install tree-sitter-wasms``bash`
pnpm add tree-sitter-wasmsor
yarn add tree-sitter-wasmsor
npm install tree-sitter-wasms
`ts``
import treeSitterRust from "tree-sitter-wasms/out/tree-sitter-rust.wasm"
parser.setLanguage(treeSitterCpp);
Check https://unpkg.com/browse/tree-sitter-wasms@latest/out/ to see all supported languages, and manually download the wasm artifacts directly.