1.0.2 • Published 6 months ago

@types/do-not-zip v1.0.2

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

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

// Type definitions for do-not-zip 1.0
// Project: https://github.com/Conduitry/do-not-zip
// Definitions by: Alexander Cerutti <https://github.com/alexandercerutti>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

/// <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: Fri, 15 Oct 2021 22:01:21 GMT
  • Dependencies: @types/node
  • Global values: none

Credits

These definitions were written by Alexander Cerutti.