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

https://github.com/afeiship/docify-zip

Zip with nodejs cli for docify.
https://github.com/afeiship/docify-zip

cli docify dzip node nodejs zip

Last synced: about 2 months ago
JSON representation

Zip with nodejs cli for docify.

Awesome Lists containing this project

README

          

# docify-zip
> Zip with nodejs cli for docify.

[![version][version-image]][version-url]
[![license][license-image]][license-url]
[![size][size-image]][size-url]
[![download][download-image]][download-url]

![snapshot](https://tva1.sinaimg.cn/large/008i3skNgy1gv865kab3sj60ju02at8u02.jpg)

## installation
```shell
git clone https://github.com/afeiship/docify-zip.git
cd docify-zip
npm i && npm link
```

## usage
~~~
Usage: dzip [options]

Options:
-V, --version output the version number
-d, --debug only show cmds, but not clean.
-f, --filename The zip target filename.
-p, --password The zip password.
-s, --suffix The filename suffix (default: "")
-h, --help display help for command
~~~

## user case
1. file with password
```shell
dzip -f html_post_test.html -p 123
```

2. folder with password
```shell
dzip -f snips -p 123
```

## resources
- https://ma.ttias.be/create-a-password-protected-zip-file-on-mac-osx/

## license
Code released under [the MIT license](https://github.com/afeiship/docify-zip/blob/master/LICENSE.txt).

[version-image]: https://img.shields.io/npm/v/@jswork/docify-zip
[version-url]: https://npmjs.org/package/@jswork/docify-zip

[license-image]: https://img.shields.io/npm/l/@jswork/docify-zip
[license-url]: https://github.com/afeiship/docify-zip/blob/master/LICENSE.txt

[size-image]: https://img.shields.io/bundlephobia/minzip/@jswork/docify-zip
[size-url]: https://github.com/afeiship/docify-zip/blob/master/dist/docify-zip.min.js

[download-image]: https://img.shields.io/npm/dm/@jswork/docify-zip
[download-url]: https://www.npmjs.com/package/@jswork/docify-zip