An open API service indexing awesome lists of open source software.

https://github.com/ryinner/dir-archiver

simple application for creating archive
https://github.com/ryinner/dir-archiver

Last synced: 10 months ago
JSON representation

simple application for creating archive

Awesome Lists containing this project

README

          

```javascript
const { generateZip } = require('@ryinner/dir-archiver');

generateZip({
inputDir: './', // required
outDir: `mySuperZip/zip.zip`, // required
archiverOptions: { // required
zlib: { level: 9 }
},
extension: '.zip', // default zip
excludes: [ // default undefined
/node_modules/gi // only regexp
]
});
```