From d3d110e82671a07a5d78fe2a1e53b505383dfe30 Mon Sep 17 00:00:00 2001 From: Kamil Jakubus Date: Sat, 25 Nov 2023 16:32:50 +0100 Subject: [PATCH] meta: typo --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index d4faada..ffd32d2 100644 --- a/README.md +++ b/README.md @@ -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'); ```