4.1.0 • Published 5 years ago
@emit-js/spawn v4.1.0
@emit-js/spawn
emit process spawn
Install
npm install @emit-js/emit @emit-js/spawn
Setup
import { Emit } from "@emit-js/emit"
import { spawn } from "@emit-js/spawn"
const emit = new Emit()
spawn(emit)
Usage
await emit.spawn("test", {
args: ["hi"],
command: "echo",
})