UNPKG

onemon

Version:

Run a npm script as a deamon, once

14 lines (13 loc) 246 B
/** * @module */ export declare enum CommandType { KILL = "kill", RUN = "run" } export interface Command { type: CommandType; deamon: string; script?: string; } export declare const getCommand: (input: string[]) => Command;