Skip to content

Latest commit

 

History

History
38 lines (26 loc) · 1.06 KB

README.md

File metadata and controls

38 lines (26 loc) · 1.06 KB

LiteJS Zip – Coverage Size Buy Me A Tea

Create ZIP files in JavaScript.

Examples

const { createZip } = require("@litejs/zip");
const fileBlob = await createZip([
    { name: "file-a.txt", content: "Some content" },
    { name: "dir/file-b.txt", content: Uint8Array.from("012"), time: new Date(2020, 1, 21) },
])

Contributing

Follow Coding Style Guide, run tests npm install; npm test.

Copyright (c) 2023 Lauri Rooden <[email protected]>
MIT License | GitHub repo | npm package | Buy Me A Tea