We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3c9ae5c commit 0dd1089Copy full SHA for 0dd1089
1 file changed
crates/string-offsets/CONTRIBUTING.md
@@ -0,0 +1,26 @@
1
+# Contributing
2
+
3
+## Building the WASM/JS package
4
5
+The code for the wasm + js wrapper package is stored in the `js` directory. To build it:
6
7
+```sh
8
+cd js
9
+npm i
10
+npm run build
11
+```
12
13
+The npm package will be output to `js/pkg`.
14
15
+To run a quick sanity check of the JS package:
16
17
18
+npm test
19
20
21
+To publish the package to npm, run:
22
23
24
+cd js/pkg
25
+npm publish
26
0 commit comments