Installation
npm install --save @types/do-not-zip
Summary
This package contains type definitions for do-not-zip (https://github.com/Conduitry/do-not-zip).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/do-not-zip.
index.d.ts
/// <reference types="node" />
export function toArray(files: File[]): number[];
export function toAuto(files: File[]): Buffer | Blob;
export function toBuffer(files: File[]): Buffer;
export function toBlob(files: File[]): Blob;
export interface File {
path: string;
data: any;
}
Additional Details
- Last updated: Mon, 06 Nov 2023 22:41:05 GMT
- Dependencies: @types/node
Credits
These definitions were written by Alexander Cerutti.