From cc8e299a4d7300a630f8dcff0dc468bf90994468 Mon Sep 17 00:00:00 2001 From: "James P." Date: Wed, 22 May 2024 09:10:33 -0500 Subject: [PATCH] Fied global name, formatting --- package.json | 2 +- readme.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 49c8715..4d9e33c 100644 --- a/package.json +++ b/package.json @@ -32,7 +32,7 @@ "format:check": "prettier --check .", "lint": "eslint src", "test": "cross-env NODE_OPTIONS=--experimental-vm-modules npx jest", - "build": "npx build --package=@zenfs/core --globalName ZenFS_Zip --entry src/index.ts", + "build": "npx build --package=@zenfs/core --globalName ZenFS_ZIP --entry src/index.ts", "build:docs": "typedoc --out docs --name 'ZenFS Zip' src/index.ts", "prepublishOnly": "npm run build" }, diff --git a/readme.md b/readme.md index fd103ba..08e060c 100644 --- a/readme.md +++ b/readme.md @@ -28,7 +28,7 @@ const res = await fetch('http://example.com/archive.zip'); await configure({ mounts: { '/mnt/zip': { backend: Zip, data: await res.arrayBuffer() }, - } + }, }); const contents = fs.readFileSync('/mnt/zip/in-archive.txt', 'utf-8');