@s-h-a-d-o-w/tree-sitter-wasms 1.0.2 → 1.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +9 -7
- package/out/tree-sitter-tsx.wasm +0 -0
- package/out/tree-sitter-typescript.wasm +0 -0
- package/package.json +1 -1
- /package/out/{tree-sitter-c-sharp.wasm → tree-sitter-c_sharp.wasm} +0 -0
- /package/out/{tree-sitter-embedded-template.wasm → tree-sitter-embedded_template.wasm} +0 -0
package/README.md
CHANGED
|
@@ -1,24 +1,26 @@
|
|
|
1
|
+
[](https://www.npmjs.com/package/@s-h-a-d-o-w/tree-sitter-wasms)
|
|
2
|
+
|
|
1
3
|
# tree-sitter-wasms
|
|
2
4
|
|
|
3
|
-
Prebuilt WASM binaries for tree-sitter's language parsers. Forked from https://github.com/
|
|
5
|
+
Prebuilt WASM binaries for tree-sitter's language parsers. Forked from https://github.com/Gregoor/tree-sitter-wasms to update everything and support current `web-tree-sitter`. (Also automated dependabot updates, which will hopefully keep maintenance burden to a minimum.)
|
|
4
6
|
|
|
5
7
|
## Installation
|
|
6
8
|
|
|
7
9
|
```bash
|
|
8
|
-
pnpm add tree-sitter-wasms
|
|
10
|
+
pnpm add @s-h-a-d-o-w/tree-sitter-wasms
|
|
9
11
|
# or
|
|
10
|
-
yarn add tree-sitter-wasms
|
|
12
|
+
yarn add @s-h-a-d-o-w/tree-sitter-wasms
|
|
11
13
|
# or
|
|
12
|
-
npm install tree-sitter-wasms
|
|
14
|
+
npm install @s-h-a-d-o-w/tree-sitter-wasms
|
|
13
15
|
```
|
|
14
16
|
|
|
15
17
|
## Usage
|
|
16
18
|
|
|
17
19
|
```ts
|
|
18
|
-
import treeSitterRust from "tree-sitter-wasms/out/tree-sitter-rust.wasm";
|
|
19
|
-
parser.setLanguage(
|
|
20
|
+
import treeSitterRust from "@s-h-a-d-o-w/tree-sitter-wasms/out/tree-sitter-rust.wasm";
|
|
21
|
+
parser.setLanguage(treeSitterRust);
|
|
20
22
|
```
|
|
21
23
|
|
|
22
24
|
## Supported Languages
|
|
23
25
|
|
|
24
|
-
See https://unpkg.com/browse/tree-sitter-wasms@latest/out
|
|
26
|
+
See https://unpkg.com/browse/@s-h-a-d-o-w/tree-sitter-wasms@latest/out/.
|
|
Binary file
|
|
Binary file
|
package/package.json
CHANGED
|
File without changes
|
|
File without changes
|