Skip to content

Commit

Permalink
Updated readme
Browse files Browse the repository at this point in the history
  • Loading branch information
james-pre committed May 22, 2024
1 parent 12adbb1 commit 56deef9
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,9 @@ npm install @zenfs/emscripten

## Usage

> 🛈 The examples are written in ESM. If you are using CJS, you can `require` the package. If running in a browser you can add a script tag to your HTML pointing to the `browser.min.js` and use ZenFS Emscripten via the global `ZenFS_Emscripten` object.
> [!NOTE]
> The examples are written in ESM.
> If you are using CJS, you can `require` the package.
> If using a browser environment without support for `type=module` in `script` tags, you can add a `script` tag to your HTML pointing to the `browser.min.js` and use the global `ZenFS_Emscripten` object.
No examples yet— I will add some soon

0 comments on commit 56deef9

Please sign in to comment.