jszip-cli
npm interface for JSZip
Last updated 3 years ago by leomichine .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install jszip-cli 
SYNC missed versions from official npm registry.

jszip-cli

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

Installation

npm install jszip-cli

Usage:

jszip [options] <entries>

Options:

<entries>                    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>        Output file
-l, --level <compressLevel>  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.

Current Tags

  • 1.4.24                                ...           latest (3 years ago)

30 Versions

  • 1.4.24                                ...           3 years ago
  • 1.4.23                                ...           3 years ago
  • 1.4.22                                ...           3 years ago
  • 1.4.21                                ...           3 years ago
  • 1.4.20                                ...           3 years ago
  • 1.4.19                                ...           3 years ago
  • 1.3.19                                ...           3 years ago
  • 1.3.18                                ...           3 years ago
  • 1.2.18                                ...           3 years ago
  • 1.2.17                                ...           3 years ago
  • 1.2.16                                ...           3 years ago
  • 1.1.17                                ...           3 years ago
  • 1.1.16                                ...           4 years ago
  • 1.1.15                                ...           4 years ago
  • 1.1.14                                ...           4 years ago
  • 1.1.13                                ...           4 years ago
  • 1.1.12                                ...           4 years ago
  • 1.1.11                                ...           4 years ago
  • 1.1.10                                ...           4 years ago
  • 1.1.9                                ...           4 years ago
  • 1.0.9                                ...           4 years ago
  • 1.0.8                                ...           4 years ago
  • 1.0.7                                ...           4 years ago
  • 1.0.6                                ...           4 years ago
  • 1.0.5                                ...           4 years ago
  • 1.0.4                                ...           4 years ago
  • 1.0.3                                ...           4 years ago
  • 1.0.2                                ...           4 years ago
  • 1.0.1                                ...           4 years ago
  • 1.0.0                                ...           4 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 3
Dependencies (6)
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2017 © taobao.org |