@dot-store/spawn

Glob filename matching with dot-store

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
@dot-store/spawn
002.3.04 years ago4 years agoMinified + gzip package size for @dot-store/spawn in KB

Readme

@dot-store/spawn
Spawn commands with dot-store.
spawn

Create store

import dotStore from "dot-store"
import spawn from "@dot-store/spawn"

const store = spawn(dotStore())

Spawn a command

await store.spawn("output", "echo", "hi")
store.get("output")
// {
//   args: ["hi"],
//   code: 0,
//   command: "echo",
//   out: "hi\r\n",
//   signal: 0
// }