@types/cross-zip
Version:
TypeScript definitions for cross-zip
24 lines (18 loc) • 923 B
Markdown
# Installation
> `npm install --save @types/cross-zip`
# Summary
This package contains type definitions for cross-zip (https://github.com/feross/cross-zip).
# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/cross-zip.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/cross-zip/index.d.ts)
````ts
export function unzip(inPath: string, outPath: string, callback?: (error?: Error) => void): void;
export function unzipSync(inPath: string, outPath: string): void;
export function zip(inPath: string, outPath: string, callback?: (error?: Error) => void): void;
export function zipSync(inPath: string, outPath: string): void;
````
### Additional Details
* Last updated: Mon, 06 Nov 2023 22:41:05 GMT
* Dependencies: none
# Credits
These definitions were written by [Florian Imdahl](https://github.com/ffflorian).