1.0.8 • Published 7 years ago

shell-cmd v1.0.8

Weekly downloads
4
License
ISC
Repository
github
Last release
7 years ago

shell-cmd

just run a darn command

as a promise

import exec from 'shell-cmd'

const main = async () => {
  const {stdout, stderr, code} = await exec('ls')
}
main()

with output callbacks

import exec from 'shell-cmd'

exec('tail -f access.log', { onStdout: console.log, onStderr: console.error })
1.0.8

7 years ago

1.0.7

7 years ago

1.0.5

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago