tiny-runtime-injector
Version:
A library that helps you download complete, lightweight runtime environments like Node.js, Bun, and uv. It's useful for including minimal runtimes when building applications like Electron.
14 lines (13 loc) • 359 B
TypeScript
import { RuntimeOptions } from "./types.js";
export declare class RuntimeInjector {
private options;
private runtimeInfo;
private config;
constructor(options: RuntimeOptions);
private isAlreadyInstalled;
private downloadFile;
private extractTarGz;
private extractZip;
private cleanupRuntime;
inject(): Promise<void>;
}