{"name":"thenify-all","description":"Promisifies all the selected functions in an object","version":"1.3.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":"3"},"devDependencies":{"bluebird":"2","istanbul":"0","mocha":"2"},"scripts":{"test":"mocha --reporter spec","test-cov":"istanbul cover node_modules/.bin/_mocha -- --reporter dot","test-travis":"istanbul cover node_modules/.bin/_mocha --report lcovonly -- --reporter dot"},"keywords":["promisify","promise","thenify","then","es6"],"files":["index.js"],"gitHead":"f0ea2cfcb7ec588b36bb9dd25964ce0bd3475897","bugs":{"url":"https://github.com/thenables/thenify-all/issues"},"homepage":"https://github.com/thenables/thenify-all","_id":"thenify-all@1.3.0","_shasum":"14da427e7a7a6f5bde0101335f02ad2fb0e8a531","_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":"14da427e7a7a6f5bde0101335f02ad2fb0e8a531","tarball":"http://registry-npm.ywwl.com/thenify-all/download/thenify-all-1.3.0.tgz","integrity":"sha512-qKIS5ui4ysMo1ac1U8ZRT3VzK7yvf5SwOJ8EPGoCpPrxyibl66CRcuHmifr0hT5IByRsGrFJJboAG57FrzDHew==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFBJj+BXRqq8vSZHVc62OkCvQeU693hz56xc7cnIdLQWAiA9ceVNwXgXwjg9FwLmTFG5dsnWHNvZUCbhpLdOP3UDjQ=="}],"size":2030,"noattachment":false,"key":"/thenify-all/-/thenify-all-1.3.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":1419495747931,"_cnpm_publish_time":1419495747931,"dist-tags":{"latest":"1.6.0"}}