zstream is to provide a well-maintained, complete streaming API for working with zip archives in node.js.
zstream is super early, and not ready for use yet.
Recursively zip up a directory (this doesn't work yet):
var zs = require'zstream'fs = require'fs'fstream = require'fstream'; // isaacs/fstreamvar sourceDir = fstreamReader'my/directory';sourceDirpipezsZipStreampipefscreateWriteStream'newzipfile.zip';
Unzip a zip file into a directory:
var zs = require'zstream'fs = require'fs'fstream = require'fstream'; // isaacs/fstreamfscreateReadStream'somezipfile.zip'pipepipefstreamWriter'new/directory';