UNPKG

nexe

Version:

Create a single executable out of your Node.js application

19 lines (18 loc) 474 B
/// <reference types="node" /> import { Stats } from 'fs'; export interface NexeBinary { blobPath: string; resources: { [key: string]: number[]; }; layout: { stat: Stats; resourceStart: number; contentSize?: number; contentStart?: number; resourceSize?: number; }; } declare function shimFs(binary: NexeBinary, fs?: any): true | undefined; declare function restoreFs(): void; export { shimFs, restoreFs };