nexe
Version:
Create a single executable out of your Node.js application
12 lines (11 loc) • 510 B
TypeScript
export type NodePlatform = 'windows' | 'mac' | 'alpine' | 'linux';
export type NodeArch = 'x86' | 'x64' | 'arm' | 'arm64';
declare const platforms: NodePlatform[], architectures: NodeArch[];
export { platforms, architectures };
export interface NexeTarget {
version: string;
platform: NodePlatform | string;
arch: NodeArch | string;
}
export declare function targetsEqual(a: NexeTarget, b: NexeTarget): boolean;
export declare function getTarget(target?: string | Partial<NexeTarget>): NexeTarget;