Skip to content

Commit

Permalink
Update README.md (#433)
Browse files Browse the repository at this point in the history
* Update README.md

* Update README.md
  • Loading branch information
jeswr authored Dec 2, 2023
1 parent a6bd64d commit 7c4184d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ for ongoing progress and information:
The easiest way to get started is my importing swipl-wasm into your npm project.
It imported for both node and browser builds as follows:

script.js
script.mjs
```js
import SWIPL from "swipl-wasm";

Expand All @@ -33,7 +33,7 @@ npm init
npm i swipl-wasm
```

After this place the above code in `script.js` in the root of your directory and run `node script.js`
After this place the above code in `script.mjs` in the root of your directory and run `node script.mjs`
to run the script.

## Usage
Expand Down

0 comments on commit 7c4184d

Please sign in to comment.