Skip to content
/ zip Public

Create ZIP files in JavaScript

Notifications You must be signed in to change notification settings

litejs/zip

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 <lauri@rooden.ee>
MIT License | GitHub repo | npm package | Buy Me A Tea