@copasi/copasijs 0.0.0-stage → 0.0.8
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/LICENSE +25 -0
- package/README.md +23 -2
- package/copasi.d.ts +291 -0
- package/copasi.js +1367 -0
- package/copasijs.js +8293 -0
- package/copasijs.wasm +0 -0
- package/index.d.ts +9 -0
- package/index.js +3 -0
- package/package.json +34 -4
package/copasijs.wasm
ADDED
|
Binary file
|
package/index.d.ts
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export { default as COPASI } from "./copasi.js";
|
|
2
|
+
export type * from "./copasi.js";
|
|
3
|
+
|
|
4
|
+
export interface CpsModuleConfig {
|
|
5
|
+
locateFile?: (path: string, prefix?: string) => string;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
export function createCpsModule(moduleArg?: CpsModuleConfig): Promise<any>;
|
|
9
|
+
export default createCpsModule;
|
package/index.js
ADDED
package/package.json
CHANGED
|
@@ -1,6 +1,36 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@copasi/copasijs",
|
|
3
|
-
"version": "0.0.
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
|
|
3
|
+
"version": "0.0.8",
|
|
4
|
+
"description": "Browser build of COPASI.js for bundlers",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "./index.js",
|
|
7
|
+
"types": "./index.d.ts",
|
|
8
|
+
"exports": {
|
|
9
|
+
".": {
|
|
10
|
+
"types": "./index.d.ts",
|
|
11
|
+
"import": "./index.js",
|
|
12
|
+
"default": "./index.js"
|
|
13
|
+
}
|
|
14
|
+
},
|
|
15
|
+
"files": [
|
|
16
|
+
"index.js",
|
|
17
|
+
"index.d.ts",
|
|
18
|
+
"copasijs.js",
|
|
19
|
+
"copasijs.wasm",
|
|
20
|
+
"copasi.js",
|
|
21
|
+
"copasi.d.ts",
|
|
22
|
+
"LICENSE",
|
|
23
|
+
"README.md"
|
|
24
|
+
],
|
|
25
|
+
"sideEffects": [
|
|
26
|
+
"./copasijs.js"
|
|
27
|
+
],
|
|
28
|
+
"license": "BSD-2-Clause",
|
|
29
|
+
"repository": {
|
|
30
|
+
"type": "git",
|
|
31
|
+
"url": "git+https://github.com/copasi/COPASI.js.git"
|
|
32
|
+
},
|
|
33
|
+
"publishConfig": {
|
|
34
|
+
"access": "public"
|
|
35
|
+
}
|
|
36
|
+
}
|