sp-svg-diagram 0.1.2

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.js ADDED
@@ -0,0 +1,6 @@
1
+ import SVGDiagramWASMModule from './wasm/SVGDiagramWASM.js';
2
+
3
+ const SVGDiagramWASM = await SVGDiagramWASMModule();
4
+ const SVGDiagram = SVGDiagramWASM.SVGDiagram;
5
+
6
+ export { SVGDiagram };
package/package.json ADDED
@@ -0,0 +1,23 @@
1
+ {
2
+ "name": "sp-svg-diagram",
3
+ "version": "0.1.2",
4
+ "type": "module",
5
+ "main": "index.js",
6
+ "files": [
7
+ "index.js",
8
+ "wasm/SVGDiagramWASM.js",
9
+ "wasm/SVGDiagramWASM.wasm"
10
+ ],
11
+ "devDependencies": {
12
+ "@eslint/js": "^9.39.1",
13
+ "chai": "^0.1.7",
14
+ "eslint": "^9.39.2",
15
+ "globals": "^16.5.0",
16
+ "mocha": "^11.7.5"
17
+ },
18
+ "scripts": {
19
+ "build": "bash build.sh",
20
+ "lint": "npx eslint demo index.js test/*.js",
21
+ "test": "mocha"
22
+ }
23
+ }