{"_id":"typeable-promisify","_rev":"5-05948a4cee6f49ae8e4e734aa3de19bf","name":"typeable-promisify","description":"Wrap any node-style callback function with a promise.","dist-tags":{"latest":"2.0.1"},"versions":{"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","tarball":"https://registry.npmjs.org/typeable-promisify/-/typeable-promisify-1.0.0.tgz","integrity":"sha512-wMnyi3gcUluOmqW+lb8Nvh7cNHpasyNL+wEeNoGlI8RpE5i6/QO9rXVZ47J5Vil6eakc1ym0RCi5CMPqJmMttw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDSgXaOX/WXV1bW03rA+KjoRqM3ssYqZFZ2LpT7p3lPGAIhAJRLC5okAHcfebYph0yreelPj/7s4lxDCZAuMpdCwu3l"}]},"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"}},"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","tarball":"https://registry.npmjs.org/typeable-promisify/-/typeable-promisify-1.0.1.tgz","integrity":"sha512-/1gZ0KTZzxBn+jQZCPX5fWzcwhelG1B/81BUZCiproV3XW88jAdWI0LuAFU20bk0DhcfouaLG63VwjiKG5R4+A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICVwL1lctZdNG+cHwVxKYyrhD8W+k0U3lWW/kfLYOBYdAiB4T6d7sZUsWsxac5MrZ4ADmGVQm/VCA/gTYH3RLdq7yA=="}]},"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"}},"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","tarball":"https://registry.npmjs.org/typeable-promisify/-/typeable-promisify-2.0.0.tgz","integrity":"sha512-YWO/bnaxPJUlqXMm6YEsLIW8+dFtahI0NdjIam3me+6WAkXEVbXN3XrJI2vNoP/8O3XlWRVjUvu9ewTJxlstTQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCn9A/7Fk6It5fAbNv39Sf9Mq9Qeedr9Xf4Cm6w0/gr9wIgBHiDzhDs/b+nw6esLSPz1e93hCwRZogjJ2ghobZQ3Yg="}]},"maintainers":[{"name":"thejameskyle","email":"me@thejameskyle.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/typeable-promisify-2.0.0.tgz_1496125569727_0.7176276475656778"}},"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","tarball":"https://registry.npmjs.org/typeable-promisify/-/typeable-promisify-2.0.1.tgz","integrity":"sha512-gx8NpMc0gCSzJLrZ5rzHBE4oH3soWwN4OLdhnDhWxuuhzPAvEnSO67lFDG1Q1r3/+yn++gTrk8rpUxPWv2UW/A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBszL+Ln+mvxBXHD1yAqISy4m0isN3/FgeuLRdC9dB1mAiBXoSj5V7vLijmtfKl2RfLCxsWgVmlIaettF58Bvvb+7A=="}]},"maintainers":[{"name":"thejameskyle","email":"me@thejameskyle.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/typeable-promisify-2.0.1.tgz_1502774302626_0.611874740337953"}}},"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","maintainers":[{"name":"thejameskyle","email":"me@thejameskyle.com"}],"time":{"modified":"2022-06-28T00:46:40.052Z","created":"2017-05-12T03:54:22.717Z","1.0.0":"2017-05-12T03:54:22.717Z","1.0.1":"2017-05-12T04:04:04.517Z","2.0.0":"2017-05-30T06:26:09.905Z","2.0.1":"2017-08-15T05:18:22.700Z"},"author":{"name":"James Kyle","email":"me@thejameskyle.com"},"license":"MIT","readmeFilename":"README.md"}