Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

pzip

0.0.2 • Public • Published

pzip Build Status

pzip uses the zip binary to create encrypted zip files that can be unlocked with a specified password.

Installation

npm install pzip

Usage

var pzip = require('pzip')
  , fs = require('fs')
  , zip = pzip('private.csv', '123')
 
zip.stdout.pipe(fs.createWriteStream('encrypted.zip'))

pzip(filePath, password, [options])

Creates an instance of the zip binary that will produce a passworded archive.

options are passed directly to child_process.spawn

TODO

  • Handle directories
  • Handle globs

Credits

Ben Parnell

Keywords

none

install

npm i pzip

Downloadsweekly downloads

5

version

0.0.2

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability