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');