Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/le0michine/jszip-cli

npm interface for JSZip library
https://github.com/le0michine/jszip-cli

js jszip jszip-cli npm zip

Last synced: 3 months ago
JSON representation

npm interface for JSZip library

Awesome Lists containing this project

README

        

# jszip-cli

A npm interface for JSZip library https://stuk.github.io/jszip.

Installation

```
npm install jszip-cli
```

Usage:
```
jszip [options]
```
Options:

```
One or more files or directories, should be space separated
-h, --help Output usage information
-c, --config Entry is a config file
-o, --output Output file
-l, --level Compress level
```

Example of config file jszip.json:

```
{
"entities": [
{ "name": "./some-directory", "flatten": true }, // files without directory structure
{ "name": "./another-directory", "root": true }, // directory content without directory itself
"yet-another-directory",
"file"
],
"options": {
"output": "out.zip"
}
}
```

Getting support

Please, if you have a problem with the library, first make sure you read this README. If you read this far, thanks, you're good. Then, please make sure your problem really is with jszip-cli. It is? Okay, then I'll look at it. Send me a mail and we can talk. Please don't open issues, as I don't think that is the proper forum for support problems. Some problems might as well really be bugs in jszip-cli, if so I'll let you know to open an issue instead :)

But if you know you really found a bug, feel free to open an issue instead.