{"name":"thenify-all","description":"Promisifies all the selected functions in an object","version":"1.0.0","author":{"name":"Jonathan Ong","email":"me@jongleberry.com","url":"http://jongleberry.com"},"license":"MIT","repository":{"type":"git","url":"https://github.com/thenables/thenify-all"},"dependencies":{"thenify":"2"},"devDependencies":{"mocha":"2","istanbul":"0"},"scripts":{"test":"mocha --reporter spec","test-cov":"istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot","test-travis":"istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter dot"},"keywords":["promisify","promise","thenify","then","es6"],"files":["index.js"],"gitHead":"e4560648593a3d83d17349cb94f1a3cbe481b768","bugs":{"url":"https://github.com/thenables/thenify-all/issues"},"homepage":"https://github.com/thenables/thenify-all","_id":"thenify-all@1.0.0","_shasum":"3663df4aed595ff671467c0683cd74350b87e1cf","_from":".","_npmVersion":"2.1.12","_nodeVersion":"0.11.14","_npmUser":{"name":"jongleberry","email":"jonathanrichardong@gmail.com"},"maintainers":[{"name":"jongleberry","email":"jonathanrichardong@gmail.com"}],"dist":{"shasum":"3663df4aed595ff671467c0683cd74350b87e1cf","tarball":"http://registry-npm.ywwl.com/thenify-all/download/thenify-all-1.0.0.tgz","integrity":"sha512-rf/JDFi5232wjzcGOzw6p7qc3XBgHec3y+5DYeUQYgQYohQpl4M0Pq0e2o+74xL7ocYUJEQfxel2dLAHdEzQcg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDb2K0nKlfywT35fc1OdNaK/J0ut2xyH97uqiyd/ClaBQIgJsly4pTars35WFt0EZCHJK5WyUKrd4/7CioX0J4qNyQ="}],"size":1960,"noattachment":false,"key":"/thenify-all/-/thenify-all-1.0.0.tgz"},"directories":{},"readme":"\n# thenify-all\n\n[![NPM version][npm-image]][npm-url]\n[![Build status][travis-image]][travis-url]\n[![Test coverage][coveralls-image]][coveralls-url]\n[![Dependency Status][david-image]][david-url]\n[![License][license-image]][license-url]\n[![Downloads][downloads-image]][downloads-url]\n[![Gittip][gittip-image]][gittip-url]\n\nPromisifies all the selected functions in an object.\n\n```js\nvar thenifyAll = require('thenify-all');\n\nvar fs = thenifyAll(require('fs'), {}, [\n  'readFile',\n  'writeFile',\n]);\n\nfs.readFile(__filename).then(function (buffer) {\n  console.log(buffer.toString());\n});\n```\n\n## API\n\n### var obj = thenifyAll(source, [obj], [methods])\n\nPromisifies all the selected functions in an object.\n\n- `source` - the source object for the async functions\n- `obj` - the destination to set all the promisified methods\n- `methods` - an array of method names of `source`\n\n### var obj = thenifyAll.withCallback(source, [obj], [methods])\n\nPromisifies all the selected functions in an object and backward compatible with callback.\n\n- `source` - the source object for the async functions\n- `obj` - the destination to set all the promisified methods\n- `methods` - an array of method names of `source`\n\n### thenifyAll.thenify\n\nExports [thenify](https://github.com/thenables/thenify) this package uses.\n\n[gitter-image]: https://badges.gitter.im/thenables/thenify-all.png\n[gitter-url]: https://gitter.im/thenables/thenify-all\n[npm-image]: https://img.shields.io/npm/v/thenify-all.svg?style=flat-square\n[npm-url]: https://npmjs.org/package/thenify-all\n[github-tag]: http://img.shields.io/github/tag/thenables/thenify-all.svg?style=flat-square\n[github-url]: https://github.com/thenables/thenify-all/tags\n[travis-image]: https://img.shields.io/travis/thenables/thenify-all.svg?style=flat-square\n[travis-url]: https://travis-ci.org/thenables/thenify-all\n[coveralls-image]: https://img.shields.io/coveralls/thenables/thenify-all.svg?style=flat-square\n[coveralls-url]: https://coveralls.io/r/thenables/thenify-all\n[david-image]: http://img.shields.io/david/thenables/thenify-all.svg?style=flat-square\n[david-url]: https://david-dm.org/thenables/thenify-all\n[license-image]: http://img.shields.io/npm/l/thenify-all.svg?style=flat-square\n[license-url]: LICENSE\n[downloads-image]: http://img.shields.io/npm/dm/thenify-all.svg?style=flat-square\n[downloads-url]: https://npmjs.org/package/thenify-all\n[gittip-image]: https://img.shields.io/gratipay/jonathanong.svg?style=flat-square\n[gittip-url]: https://gratipay.com/jonathanong/\n","publish_time":1418798397670,"_cnpm_publish_time":1418798397670,"dist-tags":{"latest":"1.6.0"}}