Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/le0michine/jszip-cli
- Owner: Le0Michine
- License: mit
- Created: 2017-02-09T00:50:09.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2017-03-02T20:44:39.000Z (almost 8 years ago)
- Last Synced: 2024-10-08T13:14:38.424Z (3 months ago)
- Topics: js, jszip, jszip-cli, npm, zip
- Language: JavaScript
- Homepage: https://www.npmjs.com/package/jszip-cli
- Size: 15.6 KB
- Stars: 4
- Watchers: 3
- Forks: 0
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.