{"name":"spawn-promise","version":"0.1.5","description":"Spawns a process and makes it simple to pipe data in and get data out.","repository":{"type":"git","url":"git+https://github.com/panosoft/spawn-promise.git"},"main":"lib/index.js","scripts":{"test":"mocha --harmony_arrow_functions"},"author":"","license":"MIT","dependencies":{"co":"^4.6.0"},"devDependencies":{"chai":"^3.2.0","chai-as-promised":"^5.1.0","mocha":"^2.2.5"},"gitHead":"2903c39d59287bd5f36a98cc30e7b8933de02156","bugs":{"url":"https://github.com/panosoft/spawn-promise/issues"},"homepage":"https://github.com/panosoft/spawn-promise#readme","_id":"spawn-promise@0.1.5","_shasum":"f5b99dd60d273c146143ca326501227f9c896552","_from":".","_npmVersion":"2.13.2","_nodeVersion":"2.5.0","_npmUser":{"name":"panosoft","email":"charles@panosoft.com"},"dist":{"shasum":"f5b99dd60d273c146143ca326501227f9c896552","tarball":"http://registry-npm.ywwl.com/spawn-promise/download/spawn-promise-0.1.5.tgz","integrity":"sha512-MTKfnGcVm26LXR+mQ8PpiBHwLnaywviv28C1kYa/8fA7Tn5SQ94Hgs5E0AwSYbZlybPjRSxnE31N2yTnbX3TCA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEMTo19rbKYplhvABlNRVrjVILAJn7kALreMPSsh9t0kAiEA7MPfFUsyZDWhhU9728nWuCo9HWTrMy5bpldgPHXLNUs="}],"size":5783,"noattachment":false,"key":"/spawn-promise/-/spawn-promise-0.1.5.tgz"},"maintainers":[{"name":"panosoft","email":"alex@panosoft.com"}],"directories":{},"readme":"# spawn-promise\n\nSpawns a process and makes it simple to pipe data in and get data out.\n\n[![npm version](https://img.shields.io/npm/v/spawn-promise.svg)](https://www.npmjs.com/package/spawn-promise)\n[![npm license](https://img.shields.io/npm/l/spawn-promise.svg)](https://www.npmjs.com/package/spawn-promise)\n[![Travis](https://img.shields.io/travis/panosoft/spawn-promise.svg)](https://travis-ci.org/panosoft/spawn-promise)\n[![David](https://img.shields.io/david/panosoft/spawn-promise.svg)](https://david-dm.org/panosoft/spawn-promise)\n[![npm downloads](https://img.shields.io/npm/dm/spawn-promise.svg)](https://www.npmjs.com/package/spawn-promise)\n\n## Installation\n\n```sh\nnpm install spawn-promise\n```\n\n## Usage\n\n```js\nvar spawn = require(spawn-promise);\n\nspawn('grep', ['H'], 'Hello').then(function (buffer) {\n  console.log(buffer.toString()); // Hello\n});\n```\n\n## API\n\n- [`spawn`](#spawn)\n\n---\n\n<a name=\"spawn\"></a>\n#### spawn ( command [, args] [, input] )\n\nSpawns a child process with the given `command`, writes the `input` value to `stdin`, and returns a `Promise` that is fulfilled with the concatenated `stdout` buffer.\n\n__Arguments__\n\n- `command` - The command to run.\n- `args` - An array of arguments to run the `command` with.\n- `input` - The value to write to `stdin`.\n","publish_time":1443818705954,"_cnpm_publish_time":1443818705954,"dist-tags":{"latest":"0.1.8"}}