1.3.3 • Published 6 months ago

@types/7zip-min v1.3.3

Weekly downloads
107
License
MIT
Repository
github
Last release
6 months ago

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

// Type definitions for 7zip-min 1.3
// Project: https://github.com/onikienko/7zip-min
// Definitions by: Tanandara <https://github.com/Tanandara>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

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, 28 Jun 2021 14:01:23 GMT
  • Dependencies: none
  • Global values: none

Credits

These definitions were written by Tanandara.