Skip to content

Commit

Permalink
Fixed 2nd Zip example option nane
Browse files Browse the repository at this point in the history
  • Loading branch information
james-pre authored Jul 8, 2024
1 parent b1cb5b4 commit cbe7b0b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ await configure({
fs.mkdirSync('/mnt');

const res = await fetch('mydata.zip');
const zipfs = await resolveMountConfig({ backend: Zip, zipData: await res.arrayBuffer() });
const zipfs = await resolveMountConfig({ backend: Zip, data: await res.arrayBuffer() });
fs.mount('/mnt/zip', zipfs);

// do stuff with the mounted zip
Expand Down

0 comments on commit cbe7b0b

Please sign in to comment.