1.0.8 • Published 8 years ago

shell-cmd v1.0.8

Weekly downloads
4
License
ISC
Repository
github
Last release
8 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

8 years ago

1.0.7

8 years ago

1.0.5

8 years ago

1.0.4

8 years ago

1.0.3

8 years ago

1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago