@libmorpheus/wasm 0.0.0 → 0.1.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/LICENSES/EMSCRIPTEN.txt +101 -0
- package/LICENSES/MPL-2.0.txt +373 -0
- package/README.md +298 -1
- package/dist/morpheus.mjs +4 -0
- package/dist/morpheus.wasm +0 -0
- package/index.d.ts +244 -0
- package/index.mjs +781 -0
- package/internal/version.mjs +16 -0
- package/package.json +36 -4
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
// SPDX-License-Identifier: AGPL-3.0-or-later
|
|
2
|
+
|
|
3
|
+
/** Version of the WebAssembly binding and of its npm and JSR packages. */
|
|
4
|
+
export const MORPHEUS_WASM_VERSION = "0.1.0";
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* libmorpheus release whose runtime sources are compiled into the packaged
|
|
8
|
+
* module. Unlike the native bindings, this package ships that runtime.
|
|
9
|
+
*/
|
|
10
|
+
export const MORPHEUS_NATIVE_VERSION = "0.4.2";
|
|
11
|
+
|
|
12
|
+
/** C ABI implemented by the packaged module. */
|
|
13
|
+
export const MORPHEUS_NATIVE_ABI_VERSION = 2;
|
|
14
|
+
|
|
15
|
+
/** Emscripten release that must reproduce the packaged module byte for byte. */
|
|
16
|
+
export const MORPHEUS_EMSCRIPTEN_VERSION = "4.0.15";
|
package/package.json
CHANGED
|
@@ -1,7 +1,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@libmorpheus/wasm",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"description": "
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "WebAssembly build of the libmorpheus morphological analyzer for browsers and JavaScript runtimes",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"morpheus",
|
|
7
|
+
"morphology",
|
|
8
|
+
"ancient-greek",
|
|
9
|
+
"latin",
|
|
10
|
+
"webassembly",
|
|
11
|
+
"wasm"
|
|
12
|
+
],
|
|
13
|
+
"type": "module",
|
|
14
|
+
"types": "./index.d.ts",
|
|
5
15
|
"license": "AGPL-3.0-or-later",
|
|
6
16
|
"repository": {
|
|
7
17
|
"type": "git",
|
|
@@ -11,9 +21,31 @@
|
|
|
11
21
|
"publishConfig": {
|
|
12
22
|
"access": "public"
|
|
13
23
|
},
|
|
24
|
+
"engines": {
|
|
25
|
+
"node": ">=20"
|
|
26
|
+
},
|
|
27
|
+
"exports": {
|
|
28
|
+
".": {
|
|
29
|
+
"types": "./index.d.ts",
|
|
30
|
+
"import": "./index.mjs"
|
|
31
|
+
},
|
|
32
|
+
"./module": "./dist/morpheus.mjs",
|
|
33
|
+
"./morpheus.wasm": "./dist/morpheus.wasm"
|
|
34
|
+
},
|
|
35
|
+
"sideEffects": false,
|
|
14
36
|
"files": [
|
|
15
37
|
"LICENSE",
|
|
38
|
+
"LICENSES",
|
|
16
39
|
"NOTICE",
|
|
17
|
-
"README.md"
|
|
18
|
-
|
|
40
|
+
"README.md",
|
|
41
|
+
"dist/morpheus.mjs",
|
|
42
|
+
"dist/morpheus.wasm",
|
|
43
|
+
"index.d.ts",
|
|
44
|
+
"index.mjs",
|
|
45
|
+
"internal/version.mjs"
|
|
46
|
+
],
|
|
47
|
+
"scripts": {
|
|
48
|
+
"test": "node --test test/*.test.js",
|
|
49
|
+
"bootstrap-npm": "node tools/bootstrap-npm.mjs"
|
|
50
|
+
}
|
|
19
51
|
}
|