From bf6c6258542afd4700fb537337dd1e299208fc13 Mon Sep 17 00:00:00 2001 From: "James P." Date: Wed, 22 May 2024 09:06:34 -0500 Subject: [PATCH] Updated examples note --- readme.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/readme.md b/readme.md index bd77a29..ed3050c 100644 --- a/readme.md +++ b/readme.md @@ -15,8 +15,10 @@ For more information, see the [API documentation](https://zen-fs.github.io/dom). ## Usage -> [!NOTE] -> 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 DOM via the global `ZenFS_DOM` object. +> [!NOTE] +> The examples are written in ESM. +> For CJS, you can `require` the package. +> For 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_DOM` object. ```js import { configure, fs } from '@zenfs/core';