spawn-bin

2.0.0 • Public • Published

spawn-bin

Build Status Greenkeeper badge version

Spawns a new Node process that runs the bin file of a given package.

API

spawnBin(bin, args, [opts])

Same as API as child_process.spawnSync with bin being resolved first.

If the name of the executable does not equal the package name you can use the format <package>:<executable>:

spawnBin('flow-bin:flow', ['.']);

Note: The stdio option is set to 'inherit' by default.

License

MIT

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 2.0.0
    15
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 2.0.0
    15
  • 1.0.0
    0

Package Sidebar

Install

npm i spawn-bin

Weekly Downloads

15

Version

2.0.0

License

MIT

Unpacked Size

2.05 kB

Total Files

7

Last publish

Collaborators

  • fgnass