zip-a-folder
Advanced tools
Comparing version 0.0.7 to 0.0.8
{ | ||
"name": "zip-a-folder", | ||
"version": "0.0.7", | ||
"version": "0.0.8", | ||
"description": "Forked the idea of @sole to zip a complete folder into a zip file but now using promises", | ||
"main": "lib/zip-a-folder.js", | ||
"typings": "zip-a-folder.d.ts", | ||
"directories": { | ||
@@ -7,0 +8,0 @@ "lib": "lib", |
@@ -26,3 +26,3 @@ [![NPM](https://nodei.co/npm/zip-a-folder.png)](https://nodei.co/npm/zip-a-folder/) | ||
``` | ||
const zip-a-folder = require('zip-a-folder'); | ||
const { zip } = require('zip-a-folder'); | ||
@@ -32,3 +32,3 @@ class ZipAFolder { | ||
static async main() { | ||
await zip-a-folder.zip('/path/to/the/folder', '/path/to/archive.zip'); | ||
await zip('/path/to/the/folder', '/path/to/archive.zip'); | ||
} | ||
@@ -69,1 +69,2 @@ } | ||
* Thanks to YOONBYEONGIN | ||
* Thanks to ratbeard |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
6162
9
87
68