@molcrafts/molrs 0.0.14 → 0.0.16
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/README.md +5 -1
- package/molrs.d.ts +1081 -291
- package/molrs.js +1 -1
- package/molrs_bg.js +2359 -656
- package/molrs_bg.wasm +0 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -4,6 +4,9 @@
|
|
|
4
4
|
|
|
5
5
|
WebAssembly bindings for the [molrs](https://github.com/MolCrafts/molrs) molecular modeling toolkit.
|
|
6
6
|
|
|
7
|
+
Full documentation lives at <https://molcrafts.github.io/molrs/>. The WASM
|
|
8
|
+
reference is published at <https://molcrafts.github.io/molrs/reference/wasm/>.
|
|
9
|
+
|
|
7
10
|
## Install
|
|
8
11
|
|
|
9
12
|
```bash
|
|
@@ -80,7 +83,7 @@ Frames without a simulation box are supported — a non-periodic bounding box is
|
|
|
80
83
|
## Build from source
|
|
81
84
|
|
|
82
85
|
```bash
|
|
83
|
-
wasm-pack build --release --target bundler --scope molcrafts
|
|
86
|
+
wasm-pack build --release --target bundler --scope molcrafts --out-name molrs
|
|
84
87
|
```
|
|
85
88
|
|
|
86
89
|
This writes `pkg/` — the npm package. `pkg/package.json` is auto-generated by
|
|
@@ -104,6 +107,7 @@ build a smaller wasm containing only a subset, use Cargo features:
|
|
|
104
107
|
|
|
105
108
|
```bash
|
|
106
109
|
wasm-pack build --release --target bundler --scope molcrafts \
|
|
110
|
+
--out-name molrs \
|
|
107
111
|
--no-default-features --features io,smiles
|
|
108
112
|
```
|
|
109
113
|
|