zip-mapper
Unzip a .zip file and map the structure in an object
Usage
The ZipMapper mapper has 3 parameters, only 2 required. ZipMapper(filePath, [onMemory], cb);
- filePath (string): Relative or absolute path to the zip file.
- onMemory (bool): Define of the files content will be loaded in memory or not.
- cb (Function): Callback, receive 2 parameters. First err object and second the mapped zip.
var ZipMapper = ; var mapper = filePath true { //(...)};