Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

zip-a-folder

Package Overview
Dependencies
Maintainers
1
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

zip-a-folder - npm Package Compare versions

Comparing version 0.0.9 to 0.0.10

2

package.json
{
"name": "zip-a-folder",
"version": "0.0.9",
"version": "0.0.10",
"description": "Forked the idea of @sole to zip a complete folder into a zip file but now using promises",

@@ -5,0 +5,0 @@ "main": "lib/zip-a-folder.js",

@@ -25,3 +25,3 @@ [![NPM](https://nodei.co/npm/zip-a-folder.png)](https://nodei.co/npm/zip-a-folder/)

```
```js
const { zip } = require('zip-a-folder');

@@ -37,3 +37,2 @@

ZipAFolder.main();
```

@@ -43,3 +42,3 @@

```
```js
const zipFolder = require('zip-a-folder');

@@ -59,3 +58,2 @@

ZipAFolder.main();
```

@@ -62,0 +60,0 @@

declare module 'zip-a-folder' {
export function zip(srcFolder: string, zipFilePath: string): Promise<void | Error>;
export function zipFolder(srcFolder: string, zipFilePath: string, callback: (undefined | Error)): void;
}
export function zipFolder(srcFolder: string, zipFilePath: string, callback: (error?: Error) => void) : void;
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc