From 74f292fd4b2680da3ee71aad526f373c098bd9af Mon Sep 17 00:00:00 2001 From: X Date: Wed, 26 Jul 2023 10:38:31 +0800 Subject: [PATCH] Update readme --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 2d5612b5d..bcaffe80a 100644 --- a/README.md +++ b/README.md @@ -313,14 +313,14 @@ import unescape from "https://esm.sh/lodash/unescape?no-dts"; This will prevent the `X-TypeScript-Types` header from being included in the network request, and you can manually specify the types for the imported module. -### Supporting Nodejs/Bun +## Supporting Nodejs/Bun Nodejs(18+) supports http imorting under the `--experimental-network-imports` flag. Bun doesn't support http modules yet. We highly recommend [Reejs](https://ree.js.org/) as the runtime with esm.sh that works both in Nodejs and Bun. -### Using CLI Script +## Using CLI Script **esm.sh** provides a CLI script for managing imports with import maps in [Deno](https://deno.land) and Node/Bun (via [Reejs](https://ree.js.org/)). This CLI script automatically resolves dependencies