swipl-wasm 3.5.11 → 3.5.12
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
CHANGED
|
@@ -9,7 +9,7 @@ for ongoing progress and information:
|
|
|
9
9
|
The easiest way to get started is my importing swipl-wasm into your npm project.
|
|
10
10
|
It imported for both node and browser builds as follows:
|
|
11
11
|
|
|
12
|
-
script.
|
|
12
|
+
script.mjs
|
|
13
13
|
```js
|
|
14
14
|
import SWIPL from "swipl-wasm";
|
|
15
15
|
|
|
@@ -33,7 +33,7 @@ npm init
|
|
|
33
33
|
npm i swipl-wasm
|
|
34
34
|
```
|
|
35
35
|
|
|
36
|
-
After this place the above code in `script.
|
|
36
|
+
After this place the above code in `script.mjs` in the root of your directory and run `node script.mjs`
|
|
37
37
|
to run the script.
|
|
38
38
|
|
|
39
39
|
## Usage
|