{"name":"@octetstream/promisify","version":"2.0.0","description":"Tiny, dependency free promisify library.","main":"promisify.js","author":{"name":"Nick K."},"license":"MIT","keywords":["promise","promisify","promisify-all","promisify-some","promisify-except","then","thenify","thenify-all","thenify-some","thenify-except","callback","cb","fulfill","wrap","wrapper","async","await","async-await","asyncawait","es6","es2015","dependency-free"],"repository":{"type":"git","url":"git+https://github.com/octet-stream/promisify.git"},"scripts":{"lint":"eslint test.js helper.js","staged":"lint-staged","limit":"size-limit","test":"ava test.js","codecov":"codecov","coverage":"nyc yarn test","report":"yarn coverage && node_modules/.bin/nyc report --reporter=html yarn test","report:ci":"yarn coverage && node_modules/.bin/nyc report --reporter=lcov yarn test","ci":"yarn report:ci && yarn codecov","precommit":"yarn staged && yarn limit","prepush":"yarn report"},"size-limit":[{"path":"promisify.js","limit":"555 B"}],"engines":{"node":">=6"},"devDependencies":{"@octetstream/eslint-config":"2.1.0","ava":"0.25.0","codecov":"3.0.4","eslint":"5.4.0","eslint-plugin-ava":"5.1.0","husky":"0.14.3","lint-staged":"7.2.2","nyc":"12.0.2","sinon":"6.1.5","size-limit":"0.19.2"},"gitHead":"8a1d2fadcf84b6ac199ec3081958a5f29f0fbc8a","bugs":{"url":"https://github.com/octet-stream/promisify/issues"},"homepage":"https://github.com/octet-stream/promisify#readme","_id":"@octetstream/promisify@2.0.0","_npmVersion":"6.2.0","_nodeVersion":"10.8.0","_npmUser":{"name":"octetstream","email":"nick.kruchinin@gmail.com"},"dist":{"integrity":"sha512-/UuHJn+/ljbjFT0xkLpFYpnX2H/rfka8sAKBzfc7LDrZYJYNn+JKr/dRQcqMDDiRrtgb153/Gck/jNDEPo7fqA==","shasum":"c2b4091c1f9bcdd4975b62db3c4e19d22a82261d","tarball":"http://registry-npm.ywwl.com/@octetstream/promisify/download/@octetstream/promisify-2.0.0.tgz","fileCount":6,"unpackedSize":11389,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbfK3eCRA9TVsSAnZWagAAgZ4P/A5D3bQMhXRhBPRInVT6\nfUtoGkG8awju0IPgfMkoVlnf1hd8giCKeeZGDrZbAuVZFYjrldNh5VdxFTqJ\nquUfqGwQZjyMyhCc40o/KG35qfAgKW4cDvNlsATfyzuaezypXEqqdaJfMqMP\nXVH08PYph8CfIG36pUXGTOtefatiqrRPklJZoEXa5JIiPxTQ5+z49EdibqRm\nAf9RcBb7hFwxw9BMxfIQmgAuRpwB90vjdGXC6VBYjzWxmPDfbjNR2nzOH9D3\n+pOR20bGPqaliLlRpj1WEZtKZs76ezn35dMZ0nTfczZBDLfOTVYtR4UpzKMN\n+WA2wJQXYPWplxlWJpAOCVbgXKV/8yBIf+xOFvm1fBwerOiMuAlcFgsQCb8s\nW4UCugkBkkuYAI+ZyUD6pcpf9vF3CueXAq3i3Z1FltMv87I8k56BcUI/KKo9\nHs1dclZHm0dQ98ZZtNKhs5ffVf1cN/+H628ieqUQg/kewWPOFGZpipIZA0IL\n7hhZ4A0SxV081Y/IXWEGHJros9KCBVID5J7jUbvFwfVVf6M544zEbmglCo2o\nwa4jKjUmqYQVwGUA5mkyrP/KuhRqzsZNS5i9i0+ldXlbuFHzLRDGqdfmYu5k\n7aOvGeeC3QJUKZJHeW/gqZEjg/Zunio4Pdeyxusk8ZEgfKRe6QHwWrDjshZs\n8hR4\r\n=QF7G\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDjjdnyVR8SGfB2DJP8OdGQYqgtv4ko6UIAywwwPz2pmwIgEy75A8Ge150Mnf7Aj6wWqNxH1ma8g8DzaCveUAVAGiU="}],"size":4400,"noattachment":false,"key":"/@octetstream/promisify/-/@octetstream/promisify-2.0.0.tgz"},"maintainers":[{"name":"octetstream","email":"nick.kruchinin@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/promisify_2.0.0_1534897630084_0.9123704788996658"},"_hasShrinkwrap":false,"readme":"# @octetstream/promisify\n\nTiny, dependency free promisify library.\n\n[![devDependencies Status](https://david-dm.org/octet-stream/promisify/dev-status.svg)](https://david-dm.org/octet-stream/promisify?type=dev)\n[![Build Status](https://travis-ci.org/octet-stream/promisify.svg?branch=master)](https://travis-ci.org/octet-stream/promisify)\n[![Code Coverage](https://codecov.io/github/octet-stream/promisify/coverage.svg?branch=master)](https://codecov.io/github/octet-stream/promisify?branch=master)\n\n## API\n\n### `promisify(target[, ctx]) -> {Function}`\n\nPromisify Node.js callback-style function with native Promise\n\n  - **{Function}** target - function, that will be wrap with a Promise\n  - **{any}** [ctx = null] - \"this\" context for a target function\n\n### `promisify.all(targets[, ctx]) -> {object}`\n\nPromisify all functions from given object\n\n  - **{object}** targets – object of target functinos\n  - **{any}** [ctx = null] - \"this\" context for all wrapped functions\n\n### `promisify.some(targets, list[, ctx]) -> {object}`\n\nPromisify some functions from given object, that was specified in list\n\n  - **{object}** targets – object of target functinos\n  - **{string[]}** list – an array of target functions names\n  - **{any}** [ctx = null] - \"this\" context for all wrapped functions\n\n### `promisify.except(targets, list[, ctx]) -> {object}`\n\nPromisify all functions from given object, except the ones from list\n\n  - **{object}** targets – object of target functinos\n  - **{string[]}** list – an array of target functions names\n  - **{any}** [ctx = null] - \"this\" context for all wrapped functions\n","publish_time":1534897630161,"_cnpm_publish_time":1534897630161,"dist-tags":{"latest":"2.0.2"}}