@lumis-sh/wasm-commonlisp 0.26.0

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/index.node.js ADDED
@@ -0,0 +1,3 @@
1
+ import { readFile } from 'node:fs/promises'
2
+ const wasmBinary = await readFile(new URL('./tree-sitter-commonlisp.wasm', import.meta.url))
3
+ export default new Uint8Array(wasmBinary.buffer, wasmBinary.byteOffset, wasmBinary.byteLength)
package/package.json ADDED
@@ -0,0 +1,29 @@
1
+ {
2
+ "name": "@lumis-sh/wasm-commonlisp",
3
+ "version": "0.26.0",
4
+ "type": "module",
5
+ "description": "Tree-sitter WASM grammar for commonlisp",
6
+ "author": "Leandro Pereira",
7
+ "license": "MIT",
8
+ "homepage": "https://lumis.sh",
9
+ "repository": {
10
+ "type": "git",
11
+ "url": "git+https://github.com/leandrocp/lumis.git"
12
+ },
13
+ "exports": {
14
+ ".": {
15
+ "node": "./index.node.js",
16
+ "default": "./index.js"
17
+ },
18
+ "./tree-sitter-commonlisp.wasm": "./tree-sitter-commonlisp.wasm"
19
+ },
20
+ "lumis": {
21
+ "language": "commonlisp",
22
+ "parser": "tree-sitter-commonlisp",
23
+ "upstreamVersion": "0.1.0",
24
+ "rev": "32323509b3d9fe96607d151c2da2c9009eb13a2f",
25
+ "treeSitter": "0.26"
26
+ },
27
+ "keywords": ["lumis-sh", "wasm", "tree-sitter"],
28
+ "files": ["*.wasm", "*.js", "README.md", "LICENSE"]
29
+ }
Binary file