{"_id":"es6-denodeify","_rev":"11-31c44cc51c15626de1844aed5a619209","name":"es6-denodeify","description":"Convert callbacks to promises.","dist-tags":{"latest":"0.1.5"},"versions":{"0.1.0":{"name":"es6-denodeify","version":"0.1.0","description":"Convert callbacks to promises.","homepage":"https://github.com/valeriangalliat/es6-denodeify","bugs":{"url":"https://github.com/valeriangalliat/es6-denodeify/issues"},"license":{"type":"Unlicense","url":"http://unlicense.org/"},"author":{"name":"Valérian Galliat","url":"http://val.codejam.info/"},"files":["index.js","README.md","UNLICENSE"],"repository":{"type":"git","url":"https://github.com/valeriangalliat/es6-denodeify.git"},"scripts":{"prepublish":"make"},"devDependencies":{"6to5":"^3.5.3"},"gitHead":"a47ecc911edfe3d582eeeb47aa8cbf31bffb5ee3","_id":"es6-denodeify@0.1.0","_shasum":"d574a4b68cee1a28c8ee91775c08573d20933c96","_from":".","_npmVersion":"2.5.0","_nodeVersion":"0.10.36","_npmUser":{"name":"valeriangalliat","email":"val@codejam.info"},"maintainers":[{"name":"valeriangalliat","email":"val@codejam.info"}],"dist":{"shasum":"d574a4b68cee1a28c8ee91775c08573d20933c96","tarball":"https://registry.npmjs.org/es6-denodeify/-/es6-denodeify-0.1.0.tgz","integrity":"sha512-LRm8BuFLaTksVU1w2O651FOOZgUGyE+MWecxMw5WOefQi8UhHYm+rRhQuVua8Bz0Jb3IeeAgVcmociDIanugzg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDjAL0NOq/nShErHwqaFUrurNpdZu8YIxRBKYtqJKtB9QIhAMIv8L+t51pXpv+KcQRjxeTayy5xQESKJD8W6UeMLAP+"}]}},"0.1.1":{"name":"es6-denodeify","version":"0.1.1","description":"Convert callbacks to promises.","homepage":"https://github.com/valeriangalliat/es6-denodeify","bugs":{"url":"https://github.com/valeriangalliat/es6-denodeify/issues"},"license":{"type":"Unlicense","url":"http://unlicense.org/"},"author":{"name":"Valérian Galliat","url":"http://val.codejam.info/"},"files":["index.js","README.md","UNLICENSE"],"repository":{"type":"git","url":"https://github.com/valeriangalliat/es6-denodeify.git"},"scripts":{"prepublish":"make"},"devDependencies":{"babel":"^4.3.0"},"gitHead":"2c160367ea3f0587a47247be583032a645380666","_id":"es6-denodeify@0.1.1","_shasum":"36692d076d23f9e5e9d9cb21732b03d9d229b803","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"valeriangalliat","email":"val@codejam.info"},"maintainers":[{"name":"valeriangalliat","email":"val@codejam.info"}],"dist":{"shasum":"36692d076d23f9e5e9d9cb21732b03d9d229b803","tarball":"https://registry.npmjs.org/es6-denodeify/-/es6-denodeify-0.1.1.tgz","integrity":"sha512-IO7d/gjyYHSEALWdMrg2lzEA2CLvSp2VT26NwcLZ3tj36CKdN607FkCtnJD7fhnBVBiGfAlbxlcP43hi1L7JCQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAJg3bByKj3uZ3IvnwD5J8Tu0Tcgvsa5wGtGBPeMhRuQAiEAyc/Q0LkdPFyBPvLLP7kPbI0OXA328r8pYNGP+wr4Duc="}]}},"0.1.2":{"name":"es6-denodeify","version":"0.1.2","description":"Convert callbacks to promises.","homepage":"https://github.com/valeriangalliat/es6-denodeify","bugs":{"url":"https://github.com/valeriangalliat/es6-denodeify/issues"},"license":{"type":"Unlicense","url":"http://unlicense.org/"},"author":{"name":"Valérian Galliat","url":"http://val.codejam.info/"},"files":["index.js","README.md","UNLICENSE"],"repository":{"type":"git","url":"git+https://github.com/valeriangalliat/es6-denodeify.git"},"scripts":{"prepublish":"make"},"devDependencies":{"babel":"^4.3.0"},"gitHead":"76381b8eaa29871bf1abb4a8c32f36b45e32780d","_id":"es6-denodeify@0.1.2","_shasum":"92e5f7cca549e2c38f919c7e4f92f30874801cbc","_from":".","_npmVersion":"2.9.0","_nodeVersion":"0.12.2","_npmUser":{"name":"valeriangalliat","email":"val@codejam.info"},"maintainers":[{"name":"valeriangalliat","email":"val@codejam.info"}],"dist":{"shasum":"92e5f7cca549e2c38f919c7e4f92f30874801cbc","tarball":"https://registry.npmjs.org/es6-denodeify/-/es6-denodeify-0.1.2.tgz","integrity":"sha512-yx3GE2yiRFdJo8uHd8Ar8XPmWDc14R1xWYpTUpf9gAbqaCNiLl4kPfVZcvh3rTS+x6MfZY8i/bp6qAbvDLCyAg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCL373ZoPF+Y51ETYquiIupXnFDsknZp1rHcpnSMRiCMQIgaR+T5tFdVdc1B3ll8MfyhOKrTWvaaLSmnl0fUkLLXN0="}]}},"0.1.3":{"name":"es6-denodeify","version":"0.1.3","description":"Convert callbacks to promises.","homepage":"https://github.com/valeriangalliat/es6-denodeify","bugs":{"url":"https://github.com/valeriangalliat/es6-denodeify/issues"},"license":{"type":"Unlicense","url":"http://unlicense.org/"},"author":{"name":"Valérian Galliat","url":"http://val.codejam.info/"},"files":["index.js","README.md","UNLICENSE"],"repository":{"type":"git","url":"git+https://github.com/valeriangalliat/es6-denodeify.git"},"scripts":{"prepublish":"make"},"devDependencies":{"babel":"^5.2.17"},"gitHead":"4a102f500ad3510a9d1d47fc2ff1641b5d895f05","_id":"es6-denodeify@0.1.3","_shasum":"a7e5cce865257ab71876ed9bab1b59962101bf03","_from":".","_npmVersion":"2.9.0","_nodeVersion":"0.12.2","_npmUser":{"name":"valeriangalliat","email":"val@codejam.info"},"maintainers":[{"name":"valeriangalliat","email":"val@codejam.info"}],"dist":{"shasum":"a7e5cce865257ab71876ed9bab1b59962101bf03","tarball":"https://registry.npmjs.org/es6-denodeify/-/es6-denodeify-0.1.3.tgz","integrity":"sha512-0EE8TziIuCl3CbnHagnBqDv6nj8ZjwWLwinr9eoL1NyJ0tCLnbUOw1ovgL85W9L8nsCE75IEN9POUecDkG/1Ng==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCzzC1/r+/PfTIuO8zgol0e0vhNBX8Ff3BxqDYfPPXpRgIhANX8yijhryUcRf0Rp09/qKBiUe8ZF2dqGz9tEXRkB+Ac"}]}},"0.1.4":{"name":"es6-denodeify","version":"0.1.4","description":"Convert callbacks to promises.","homepage":"https://github.com/valeriangalliat/es6-denodeify","bugs":{"url":"https://github.com/valeriangalliat/es6-denodeify/issues"},"license":{"type":"Unlicense","url":"http://unlicense.org/"},"author":{"name":"Valérian Galliat","url":"http://val.codejam.info/"},"files":["index.js","README.md","UNLICENSE"],"repository":{"type":"git","url":"git+https://github.com/valeriangalliat/es6-denodeify.git"},"scripts":{"prepublish":"make"},"devDependencies":{"babel":"^5.2.17"},"gitHead":"1fe679f6185f502854895d57a4472501996683c4","_id":"es6-denodeify@0.1.4","_shasum":"889ebc76a31ffbb9f8ee41c0cd84ff32ba6d009a","_from":".","_npmVersion":"2.9.0","_nodeVersion":"0.12.2","_npmUser":{"name":"valeriangalliat","email":"val@codejam.info"},"maintainers":[{"name":"valeriangalliat","email":"val@codejam.info"}],"dist":{"shasum":"889ebc76a31ffbb9f8ee41c0cd84ff32ba6d009a","tarball":"https://registry.npmjs.org/es6-denodeify/-/es6-denodeify-0.1.4.tgz","integrity":"sha512-0xG5aSOL+2kkUjRCchv1i+uqZtj3Lw9j4z57oXSlcoTPbIXN1uqsvlm1c0UdvAp/N1tsJpauoF4OXoG6vEfawg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHXM8wH9F7DstDWFhBcwPDxqnrl37r3XeuVOHoPrpdt7AiEAjrffLDibF4/FEEWIeBpPdGty/ur4jAv709O71F2OWOo="}]}},"0.1.5":{"name":"es6-denodeify","version":"0.1.5","description":"Convert callbacks to promises.","homepage":"https://github.com/valeriangalliat/es6-denodeify","bugs":{"url":"https://github.com/valeriangalliat/es6-denodeify/issues"},"license":"Unlicense","author":{"name":"Valérian Galliat","url":"http://val.codejam.info/"},"files":["index.js","README.md","UNLICENSE"],"repository":{"type":"git","url":"git+https://github.com/valeriangalliat/es6-denodeify.git"},"scripts":{"prepublish":"make"},"devDependencies":{"babel":"^5.2.17"},"gitHead":"d63fb94ab7f73acd1869f908881bed687873ac53","_id":"es6-denodeify@0.1.5","_shasum":"31d4d5fe9c5503e125460439310e16a2a3f39c1f","_from":".","_npmVersion":"2.10.1","_nodeVersion":"0.12.3","_npmUser":{"name":"valeriangalliat","email":"val@codejam.info"},"maintainers":[{"name":"valeriangalliat","email":"val@codejam.info"}],"dist":{"shasum":"31d4d5fe9c5503e125460439310e16a2a3f39c1f","tarball":"https://registry.npmjs.org/es6-denodeify/-/es6-denodeify-0.1.5.tgz","integrity":"sha512-731Rf4NqlPvhkT1pIF7r8vZxESJlWocNpXLuyPlVnfEGXlwuJaMvU5WpyyDjpudDC2cgXVX849xljzvQqBg1QQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC/p0Ec7ydafCSVVQeRt5JOzUOWIaPdNei50bMeww2wkAIgY/C8Q5pAejKIZeghdJP3RQ5aSy4uMn6QwDCMdnJgAg8="}]}}},"readme":"# es6-denodeify [![npm version](http://img.shields.io/npm/v/es6-denodeify.svg?style=flat-square)](https://www.npmjs.org/package/es6-denodeify)\n\n> Convert callbacks to promises.\n\nWhy?\n----\n\nThere's already a lot of modules in npm registry to convert callbacks to\npromises. Why another?\n\nAll the modules I found for this purpuse were either depending on some\nspecific promise implementation, or expecting a global `Promise`\nconstructor. I needed a module that allowed me to inject the promise\nimplementation I'm using. And I found it, it is called\n[promise-denodeify](https://github.com/clebert/promise-denodeify), but\nsince a few weeks it's marked as deprecated, without any recommended\nalternative solution, and it displays a warning during npm installs when\nyou depend on it, which makes people freak out.\n\nI already [tweeted](https://twitter.com/valeriangalliat/status/558209548390240256)\na really simple `denodeify` implementation, leveraging ES6 arrow\nfunctions, and I like it in its brevity. I'm now publishing it as a npm\npackage.\n\nUsage\n-----\n\n```js\nconst denodeify = require('es6-denodeify')(Promise)\nconst fs = require('fs')\nconst readFile = denodeify(fs.readFile)\n\nreadFile('package.json', 'utf8').then(console.log)\n```\n\nIf you have a global `Promise` constructor and you want es6-denodeify to\nuse it, you can ommit the explicit `Promise` injection.\n\n```js\nconst denodeify = require('es6-denodeify')()\n```\n","maintainers":[{"name":"valeriangalliat","email":"val@codejam.info"}],"time":{"modified":"2022-06-17T09:01:01.467Z","created":"2015-02-11T21:40:12.191Z","0.1.0":"2015-02-11T21:40:12.191Z","0.1.1":"2015-02-20T08:26:01.080Z","0.1.2":"2015-05-11T19:05:46.634Z","0.1.3":"2015-05-11T19:31:15.891Z","0.1.4":"2015-05-11T19:32:54.313Z","0.1.5":"2015-05-25T12:21:07.544Z"},"homepage":"https://github.com/valeriangalliat/es6-denodeify","repository":{"type":"git","url":"git+https://github.com/valeriangalliat/es6-denodeify.git"},"author":{"name":"Valérian Galliat","url":"http://val.codejam.info/"},"bugs":{"url":"https://github.com/valeriangalliat/es6-denodeify/issues"},"license":"Unlicense","readmeFilename":"README.md","users":{"mygoare":true}}