0.2.0 • Published 28 days ago

cocoa-process v0.2.0

Weekly downloads
-
License
MIT
Repository
github
Last release
28 days ago

cocoa-process

Package that allows to wrap some logic to either execute or spawn commands.

The command allows to return the value from the command stdout.

const process = new ChildProcess('Command', ['args'], 'ProcessName')
await process.command()

While process allows to execute a process and logs its output. It allows also to keep a service alive with the parameter

const process = new ChildProcess('Command', ['args'], 'ProcessName')
const keepAlive = true
await process.service(keepAlive)
0.1.0

28 days ago

0.2.0

28 days ago

0.0.2

7 months ago