Skip to content

Commit

Permalink
Fied global name, formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
james-pre committed May 22, 2024
1 parent ce97032 commit cc8e299
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
},
Expand Down
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down

0 comments on commit cc8e299

Please sign in to comment.