daraosn / node-zip

217 stars 38 forks source link

make archive process explicit #26

Open 0x70b1a5 opened 7 years ago

0x70b1a5 commented 7 years ago

i spent two days trying to figure out why my old files were getting zipped along with my new ones - turns out this was the problem: new require('node-zip')(). we should not include implicit shortcuts in documentation. i explain in this PR that we should call the constructor each time we want a new archive