From c42d8ca516d807dd81170ae4c91446f877e1f149 Mon Sep 17 00:00:00 2001 From: Ze-Zheng Wu Date: Sun, 29 Dec 2024 15:31:07 +0800 Subject: [PATCH] chore: update README --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index c2ab696c..1e47b2e1 100644 --- a/README.md +++ b/README.md @@ -39,7 +39,7 @@ - +Visit [this online demo](https://zxing-wasm-demo.deno.dev/) to quickly explore its basic reading functions. It works best on the latest Chromium browsers. ## Build @@ -249,7 +249,7 @@ const writeOutput = await writeBarcode("Hello world!"); If you want to use this library in non-web runtimes (such as Node.js, Bun, Deno, etc.) without setting up a server, there are several possible approaches. Because API support can differ between runtime environments and versions, you may need to adapt these examples or choose alternative methods depending on your specific runtime’s capabilities. Below are some example configurations for Node.js. -1. **Use the [`Module.instantiateWasm`](https://emscripten.org/docs/api_reference/module.html#Module.instantiateWasm) API** +1. **Use the [`Module.instantiateWasm`](https://emscripten.org/docs/api_reference/module.html?highligh=instantiateWasm#Module.instantiateWasm) API** ```ts import { readFileSync } from "node:fs";