Skip to content

Commit

Permalink
meta: typo
Browse files Browse the repository at this point in the history
  • Loading branch information
jkbz64 committed Nov 25, 2023
1 parent 95cab92 commit d3d110e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,11 @@ npm install @usagi-coffee/tree-sitter-abl

### WASM

Prebuilt WASM binary can be found in NPM package or build yourself with `npx tre-sitter build-wasm`.
Follow [web-tree-sitter](https://github.com/tree-sitter/tree-sitter/tree/master/lib/binding_web) bindings.
Prebuilt WASM binary can be found in NPM package or build yourself with `npx tree-sitter build-wasm`.
Follow [web-tree-sitter](https://github.com/tree-sitter/tree-sitter/tree/master/lib/binding_web) binding documentation.

```
// Getting wasm binary from the npm package
const fs = require('node:fs');
const mod = fs.readFileSync('node_modules/@usagi-coffee/tree-sitter-abl/tree-sitter-abl.wasm');
```
Expand Down

0 comments on commit d3d110e

Please sign in to comment.