{"_id":"typeable-promisify","_rev":"269669","name":"typeable-promisify","description":"Wrap any node-style callback function with a promise.","dist-tags":{"latest":"2.0.1"},"maintainers":[{"name":"thejameskyle","email":"me@thejameskyle.com"}],"time":{"modified":"2021-06-03T17:18:02.000Z","created":"2017-05-12T03:54:22.717Z","2.0.1":"2017-08-15T05:18:22.700Z","2.0.0":"2017-05-30T06:26:09.905Z","1.0.1":"2017-05-12T04:04:04.517Z","1.0.0":"2017-05-12T03:54:22.717Z"},"users":{},"author":{"name":"James Kyle","email":"me@thejameskyle.com"},"versions":{"2.0.1":{"name":"typeable-promisify","description":"Wrap any node-style callback function with a promise.","version":"2.0.1","main":"index.js","author":{"name":"James Kyle","email":"me@thejameskyle.com"},"license":"MIT","dependencies":{"any-promise":"^1.3.0"},"devDependencies":{"flow-bin":"^0.46.0"},"gitHead":"030f542ade8dbdb6322f369c51ffee7eed637a78","_id":"typeable-promisify@2.0.1","scripts":{},"_shasum":"1baee82abaf13280198eb11e98589c881a6bd80d","_from":".","_npmVersion":"2.15.11","_nodeVersion":"4.8.4","_npmUser":{"name":"thejameskyle","email":"me@thejameskyle.com"},"dist":{"shasum":"1baee82abaf13280198eb11e98589c881a6bd80d","size":2427,"noattachment":false,"key":"/typeable-promisify/-/typeable-promisify-2.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/typeable-promisify/download/typeable-promisify-2.0.1.tgz"},"maintainers":[{"name":"thejameskyle","email":"me@thejameskyle.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/typeable-promisify-2.0.1.tgz_1502774302626_0.611874740337953"},"directories":{},"publish_time":1502774302700,"_hasShrinkwrap":false,"_cnpm_publish_time":1502774302700},"2.0.0":{"name":"typeable-promisify","description":"Wrap any node-style callback function with a promise.","version":"2.0.0","main":"index.js","author":{"name":"James Kyle","email":"me@thejameskyle.com"},"license":"MIT","dependencies":{"any-promise":"^1.3.0"},"devDependencies":{"flow-bin":"^0.46.0"},"gitHead":"23ea9727af099b4b6f4f5a17c24719e271a58e0c","_id":"typeable-promisify@2.0.0","scripts":{},"_shasum":"b8f2bad03e078dbc72db7368eaa370049f6ed11f","_from":".","_npmVersion":"4.2.0","_nodeVersion":"7.10.0","_npmUser":{"name":"thejameskyle","email":"me@thejameskyle.com"},"dist":{"shasum":"b8f2bad03e078dbc72db7368eaa370049f6ed11f","size":2450,"noattachment":false,"key":"/typeable-promisify/-/typeable-promisify-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/typeable-promisify/download/typeable-promisify-2.0.0.tgz"},"maintainers":[{"name":"thejameskyle","email":"me@thejameskyle.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/typeable-promisify-2.0.0.tgz_1496125569727_0.7176276475656778"},"directories":{},"publish_time":1496125569905,"_hasShrinkwrap":false,"_cnpm_publish_time":1496125569905},"1.0.1":{"name":"typeable-promisify","description":"Wrap any node-style callback function with a promise.","version":"1.0.1","main":"index.js","author":{"name":"James Kyle","email":"me@thejameskyle.com"},"license":"MIT","dependencies":{"any-promise":"^1.3.0"},"devDependencies":{"flow-bin":"^0.46.0"},"gitHead":"7ea84a0a5aff34c16993206ab56bfe1fdda2b70b","_id":"typeable-promisify@1.0.1","scripts":{},"_shasum":"005d43502e7753affccc8af8c05e3ac24f30e617","_from":".","_npmVersion":"4.2.0","_nodeVersion":"7.10.0","_npmUser":{"name":"thejameskyle","email":"me@thejameskyle.com"},"dist":{"shasum":"005d43502e7753affccc8af8c05e3ac24f30e617","size":2439,"noattachment":false,"key":"/typeable-promisify/-/typeable-promisify-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/typeable-promisify/download/typeable-promisify-1.0.1.tgz"},"maintainers":[{"name":"thejameskyle","email":"me@thejameskyle.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/typeable-promisify-1.0.1.tgz_1494561844241_0.6704877612646669"},"directories":{},"publish_time":1494561844517,"_hasShrinkwrap":false,"_cnpm_publish_time":1494561844517},"1.0.0":{"name":"typeable-promisify","description":"Wrap any node-style callback function with a promise.","version":"1.0.0","main":"index.js","author":{"name":"James Kyle","email":"me@thejameskyle.com"},"license":"MIT","dependencies":{"any-promise":"^1.3.0"},"devDependencies":{"flow-bin":"^0.46.0"},"gitHead":"b67dc54bbcdf9c5367929b4b9a1eeb998c7a042b","_id":"typeable-promisify@1.0.0","scripts":{},"_shasum":"679d134725ed0654072d05b4cd539cdd4de13412","_from":".","_npmVersion":"4.2.0","_nodeVersion":"7.10.0","_npmUser":{"name":"thejameskyle","email":"me@thejameskyle.com"},"dist":{"shasum":"679d134725ed0654072d05b4cd539cdd4de13412","size":2410,"noattachment":false,"key":"/typeable-promisify/-/typeable-promisify-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/typeable-promisify/download/typeable-promisify-1.0.0.tgz"},"maintainers":[{"name":"thejameskyle","email":"me@thejameskyle.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/typeable-promisify-1.0.0.tgz_1494561262470_0.7289900050964206"},"directories":{},"publish_time":1494561262717,"_hasShrinkwrap":false,"_cnpm_publish_time":1494561262717}},"readme":"# typeable-promisify\n\n- Wrap any node-style callback function with a promise.\n- Allows you to specify your own type annotations.\n- Strongly typed.\n\n```js\n// @flow\nimport promisify from 'typeable-promisify';\n\nlet writeFileAsync = (filePath: string, fileContents: string): Promise<void> => {\n  return promisify(cb => writeFile(filePath, fileContents, cb));\n};\n\nwriteFileAsync('fileName', 'fileContents').then(() => {});\n```\n","_attachments":{},"license":"MIT"}