UNPKG

nexe

Version:

Create a single executable out of your Node.js application

18 lines (17 loc) 512 B
/// <reference types="node" /> /// <reference types="node" /> import { Readable } from 'stream'; import { File } from 'resolve-dependencies'; export declare function toStream(content: Buffer | string): Readable; export declare class Bundle { cwd: string; files: Set<string>; zip: any; constructor({ cwd }?: { cwd: string; }); get list(): string[]; addResource(absoluteFileName: string, content?: File | Buffer | string): void; finalize(): any; toStream(): Readable; }