Installation
npm install --save @types/7zip-min
Summary
This package contains type definitions for 7zip-min (https://github.com/onikienko/7zip-min).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/7zip-min.
index.d.ts
export function unpack(pathToArchive: string, whereToUnpack: string, errorCallback: (err: Error | null) => void): void;
export function unpack(pathToArchive: string, errorCallback: (err: Error | null) => void): void;
export function pack(pathToDirOrFile: string, pathToArchive: string, errorCallback: (err: Error | null) => void): void;
export function list(pathToArchive: string, callback: (err: Error | null, result: Result[]) => void): void;
export function cmd(command: string[], errorCallback: (err: Error | null) => void): void;
export interface Result {
name: string;
date: string;
time: string;
attr: string;
size: string;
compressed: string;
dateTime: string;
crc: string;
method: string;
block: string;
encrypted: string;
}
Additional Details
- Last updated: Mon, 06 Nov 2023 22:41:04 GMT
- Dependencies: none
Credits
These definitions were written by Tanandara.