{"_id":"promise-breaker","_rev":"34-d63a3dcde01e0a38351ab555211c86e1","name":"promise-breaker","dist-tags":{"latest":"7.0.0"},"versions":{"1.0.0":{"name":"promise-breaker","version":"1.0.0","keywords":["promise","callback","library"],"author":{"url":"https://github.com/jwalton","name":"Jason Walton","email":"dev@lucid.thedreaming.org"},"license":"MIT","_id":"promise-breaker@1.0.0","maintainers":[{"name":"jwalton","email":"npm@lucid.thedreaming.org"}],"homepage":"https://github.com/jwalton/node-promise-breaker","bugs":{"url":"https://github.com/jwalton/node-promise-breaker/issues"},"dist":{"shasum":"51ce80fb7878eb722be47d561381da3eb0b12209","tarball":"https://registry.npmjs.org/promise-breaker/-/promise-breaker-1.0.0.tgz","integrity":"sha512-5RbHtk3uKnjoLTqekSYFvrFudmsbP1FBDosTuDanGa2Y79DdB6xFq+SMw2fgnunL+mPJ5AzKicUIj3nNTPBorg==","signatures":[{"sig":"MEQCICGtWOBiNOPr+82DZtSKi69Zh/NJ7L78o2UcYSiVZwRPAiBirdhSrodekDyRzKOMYtcowOtOzFwTZckTwzlrY122aA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","_shasum":"51ce80fb7878eb722be47d561381da3eb0b12209","gitHead":"9249a16d153071186e31680fededea2e83eec2f8","scripts":{"test":"mocha"},"_npmUser":{"name":"jwalton","email":"npm@lucid.thedreaming.org"},"repository":{"url":"https://github.com/jwalton/node-promise-breaker","type":"git"},"_npmVersion":"1.4.23","description":"Script to help write libraries that accept both promises and callbacks.","directories":{"test":"test"},"dependencies":{},"devDependencies":{"chai":"^3.0.0","mocha":"^2.2.5","es6-promise":"^2.3.0","coffee-script":"^1.9.3"}},"2.0.0":{"name":"promise-breaker","version":"2.0.0","keywords":["promise","callback","library"],"author":{"url":"https://github.com/jwalton","name":"Jason Walton","email":"dev@lucid.thedreaming.org"},"license":"MIT","_id":"promise-breaker@2.0.0","maintainers":[{"name":"jwalton","email":"npm@lucid.thedreaming.org"}],"homepage":"https://github.com/jwalton/node-promise-breaker","bugs":{"url":"https://github.com/jwalton/node-promise-breaker/issues"},"dist":{"shasum":"5662453e344faf041dbf232258674b7db52f7715","tarball":"https://registry.npmjs.org/promise-breaker/-/promise-breaker-2.0.0.tgz","integrity":"sha512-7xZhqBdnd770+t8MD5iauWBcHealeMg2eomD+Q79EJetmVgXT6SZeGSyEQXwWvQCocf7yoTivQbNc0Ef7lz5Kg==","signatures":[{"sig":"MEUCICH+JwHDKbKLRp/aDlInEjrRy7Qa6AAnqk01a9m36H3nAiEAtIVWJmISUiE1LTtJ6lveV/w+dXVdRbkOIBuxP4K7KTA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","_shasum":"5662453e344faf041dbf232258674b7db52f7715","gitHead":"df658eedd530b55bafd70bf47bda5fc59b5a9901","scripts":{"test":"istanbul cover _mocha"},"_npmUser":{"name":"jwalton","email":"npm@lucid.thedreaming.org"},"repository":{"url":"https://github.com/jwalton/node-promise-breaker","type":"git"},"_npmVersion":"1.4.23","description":"Library to help write libraries that accept both promises and callbacks.","directories":{"test":"test"},"dependencies":{},"devDependencies":{"chai":"^3.0.0","mocha":"^2.2.5","istanbul":"^0.3.15","coveralls":"^2.11.2","es6-promise":"^2.3.0","coffee-script":"^1.9.3"}},"2.0.1":{"name":"promise-breaker","version":"2.0.1","keywords":["promise","callback","library"],"author":{"url":"https://github.com/jwalton","name":"Jason Walton","email":"dev@lucid.thedreaming.org"},"license":"MIT","_id":"promise-breaker@2.0.1","maintainers":[{"name":"jwalton","email":"npm@lucid.thedreaming.org"}],"homepage":"https://github.com/jwalton/node-promise-breaker","bugs":{"url":"https://github.com/jwalton/node-promise-breaker/issues"},"dist":{"shasum":"a3964c3d1824df20da97a1ce3554b7288b39b252","tarball":"https://registry.npmjs.org/promise-breaker/-/promise-breaker-2.0.1.tgz","integrity":"sha512-fA8zRuwWgLhVBxE7EwSYounS4XoZsrIER5c7T53uBYcA3hsYd70Ytt3IIuZGhOGJEdcCM+l2LOqONhnC8LHz6Q==","signatures":[{"sig":"MEQCIGPGxM4vMHqAOST3CTXVgms6/vT13WquSKpOnB4JrkQaAiB5bvZuvHJuFCdbidlEDV5MbFYHC/q90INSY4okUW/rEQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","_shasum":"a3964c3d1824df20da97a1ce3554b7288b39b252","gitHead":"8564d90a04c8be0bff85fc521c44ff352f4339a1","scripts":{"test":"istanbul cover _mocha"},"_npmUser":{"name":"jwalton","email":"npm@lucid.thedreaming.org"},"repository":{"url":"https://github.com/jwalton/node-promise-breaker","type":"git"},"_npmVersion":"1.4.23","description":"Library to help write libraries that accept both promises and callbacks.","directories":{"test":"test"},"dependencies":{},"devDependencies":{"chai":"^3.0.0","mocha":"^2.2.5","istanbul":"^0.3.15","coveralls":"^2.11.2","es6-promise":"^2.3.0","coffee-script":"^1.9.3"}},"2.0.2":{"name":"promise-breaker","version":"2.0.2","keywords":["promise","callback","library"],"author":{"url":"https://github.com/jwalton","name":"Jason Walton","email":"dev@lucid.thedreaming.org"},"license":"MIT","_id":"promise-breaker@2.0.2","maintainers":[{"name":"jwalton","email":"npm@lucid.thedreaming.org"}],"homepage":"https://github.com/jwalton/node-promise-breaker","bugs":{"url":"https://github.com/jwalton/node-promise-breaker/issues"},"dist":{"shasum":"b625e7abd69404658c5e096c4f9bf4aff6d6cb6d","tarball":"https://registry.npmjs.org/promise-breaker/-/promise-breaker-2.0.2.tgz","integrity":"sha512-PyTzXV/xxuYVQ/neXZVY8YtuaGB+iwA5k/43xTZ2sINWEbhoCTa7qHSaX53plQogFpUmGD1X3gNpIPlbjq858w==","signatures":[{"sig":"MEYCIQD+yddx3+g4IDZ8kY9CaV5ioFViSh+aZ0segDGkCv0S/AIhAPwMtXzW9QlpSeQIeR2HAfWyYrzATBWymSoMCOuKgoNO","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","_shasum":"b625e7abd69404658c5e096c4f9bf4aff6d6cb6d","gitHead":"f563866c484368777a045533b4b004ce51fcbe52","scripts":{"test":"istanbul cover _mocha"},"_npmUser":{"name":"jwalton","email":"npm@lucid.thedreaming.org"},"repository":{"url":"https://github.com/jwalton/node-promise-breaker","type":"git"},"_npmVersion":"1.4.23","description":"Library to help write libraries that accept both promises and callbacks.","directories":{"test":"test"},"dependencies":{},"devDependencies":{"chai":"^3.0.0","mocha":"^2.2.5","istanbul":"^0.3.15","coveralls":"^2.11.2","es6-promise":"^2.3.0","coffee-script":"^1.9.3"}},"2.0.3":{"name":"promise-breaker","version":"2.0.3","keywords":["promise","callback","library"],"author":{"url":"https://github.com/jwalton","name":"Jason Walton","email":"dev@lucid.thedreaming.org"},"license":"MIT","_id":"promise-breaker@2.0.3","maintainers":[{"name":"jwalton","email":"npm@lucid.thedreaming.org"}],"homepage":"https://github.com/jwalton/node-promise-breaker","bugs":{"url":"https://github.com/jwalton/node-promise-breaker/issues"},"dist":{"shasum":"1ea5b1ec888c0e7eb5ad7bd9b9ccbfb12f411e8a","tarball":"https://registry.npmjs.org/promise-breaker/-/promise-breaker-2.0.3.tgz","integrity":"sha512-0yPDju+6As+qCBDXBUPwuNwY6JtRYXw7Cx1qyodUYG0nBUk6Ob3O7vEbGbvHRINoZqvO+d0yxmDaX+W7+1VEKg==","signatures":[{"sig":"MEUCIBk0/JMLCEvS2Xn2YHeniC89FJSYgabDimX7qMb+a1eVAiEAwNovUbQZ2FZbWE8Q6eqnXkrhpL7b2jx6tCba6SVmX4A=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","_shasum":"1ea5b1ec888c0e7eb5ad7bd9b9ccbfb12f411e8a","gitHead":"b3f41cad44be89ecf4efa0de41e8cc5f559e9eeb","scripts":{"test":"istanbul cover _mocha"},"_npmUser":{"name":"jwalton","email":"npm@lucid.thedreaming.org"},"repository":{"url":"https://github.com/jwalton/node-promise-breaker","type":"git"},"_npmVersion":"1.4.23","description":"Library to help write libraries that accept both promises and callbacks.","directories":{"test":"test"},"dependencies":{},"devDependencies":{"chai":"^3.0.0","mocha":"^2.2.5","istanbul":"^0.3.15","coveralls":"^2.11.2","es6-promise":"^2.3.0","coffee-script":"^1.9.3"}},"2.1.0":{"name":"promise-breaker","version":"2.1.0","keywords":["promise","callback","library"],"author":{"url":"https://github.com/jwalton","name":"Jason Walton","email":"dev@lucid.thedreaming.org"},"license":"MIT","_id":"promise-breaker@2.1.0","maintainers":[{"name":"jwalton","email":"npm@lucid.thedreaming.org"}],"homepage":"https://github.com/jwalton/node-promise-breaker#readme","bugs":{"url":"https://github.com/jwalton/node-promise-breaker/issues"},"dist":{"shasum":"3f5397409b3d50581ec3a124b5d55fe0fdcdadb4","tarball":"https://registry.npmjs.org/promise-breaker/-/promise-breaker-2.1.0.tgz","integrity":"sha512-0h8jRssj65p/e2lB4L86roKjw971p3L8NSUiORCkEuz5B6+Nat+Hp83GVqO2/GK/8t3Zmv9J48hRtYeFE0n8sg==","signatures":[{"sig":"MEYCIQCfj9ez9jmeL9eOxNsaF492zJD/Li6VigyZ76HnEASpKwIhAKVacYpjF8qzLIhFAkRsRzevqC8yhP5q0glJc5RuhABJ","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","_shasum":"3f5397409b3d50581ec3a124b5d55fe0fdcdadb4","gitHead":"c9dbf698834700a2bcf20d3e8115ad8a04353659","scripts":{"test":"istanbul cover _mocha"},"_npmUser":{"name":"jwalton","email":"npm@lucid.thedreaming.org"},"deprecated":"Removed asPromise command.","repository":{"url":"git+https://github.com/jwalton/node-promise-breaker.git","type":"git"},"_npmVersion":"2.14.7","description":"Library to help write libraries that accept both promises and callbacks.","directories":{"test":"test"},"_nodeVersion":"4.2.1","dependencies":{},"devDependencies":{"chai":"^3.0.0","mocha":"^2.2.5","istanbul":"^0.3.15","coveralls":"^2.11.2","es6-promise":"^2.3.0","coffee-script":"^1.9.3","chai-as-promised":"^5.1.0"}},"2.2.0":{"name":"promise-breaker","version":"2.2.0","keywords":["promise","callback","library"],"author":{"url":"https://github.com/jwalton","name":"Jason Walton","email":"dev@lucid.thedreaming.org"},"license":"MIT","_id":"promise-breaker@2.2.0","maintainers":[{"name":"jwalton","email":"npm@lucid.thedreaming.org"}],"homepage":"https://github.com/jwalton/node-promise-breaker#readme","bugs":{"url":"https://github.com/jwalton/node-promise-breaker/issues"},"dist":{"shasum":"86fc49d8924842cc94999034e7191a9f306767dd","tarball":"https://registry.npmjs.org/promise-breaker/-/promise-breaker-2.2.0.tgz","integrity":"sha512-p4+Vg3TsO+kLkaGWPGB+kejOOgxBazydzHQuQgJrwbowp6PI/QT/NQlAuOmhfnruBIvxnJS319KwCD3/A/LfCQ==","signatures":[{"sig":"MEQCIBoZ89/pb/TZ0Ks4+Bveg8MiYUbc/2NNgHtFwyk8lOfeAiB36DjrDLyU5C3wWD7R150e+L5TcemXuKhdFOphP0/S0A==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","_shasum":"86fc49d8924842cc94999034e7191a9f306767dd","gitHead":"0df7a68f3f4d3fd2756e0f400823695133bac647","scripts":{"test":"istanbul cover _mocha"},"_npmUser":{"name":"jwalton","email":"npm@lucid.thedreaming.org"},"repository":{"url":"git+https://github.com/jwalton/node-promise-breaker.git","type":"git"},"_npmVersion":"2.14.7","description":"Library to help write libraries that accept both promises and callbacks.","directories":{"test":"test"},"_nodeVersion":"4.2.1","dependencies":{},"devDependencies":{"chai":"^3.0.0","mocha":"^2.2.5","istanbul":"^0.3.15","coveralls":"^2.11.2","es6-promise":"^2.3.0","coffee-script":"^1.9.3"}},"2.2.1":{"name":"promise-breaker","version":"2.2.1","keywords":["promise","callback","library"],"author":{"url":"https://github.com/jwalton","name":"Jason Walton","email":"dev@lucid.thedreaming.org"},"license":"MIT","_id":"promise-breaker@2.2.1","maintainers":[{"name":"jwalton","email":"npm@lucid.thedreaming.org"}],"homepage":"https://github.com/jwalton/node-promise-breaker#readme","bugs":{"url":"https://github.com/jwalton/node-promise-breaker/issues"},"dist":{"shasum":"c6c3e4ef0e415e78c43489d61d7284dc45f05dd3","tarball":"https://registry.npmjs.org/promise-breaker/-/promise-breaker-2.2.1.tgz","integrity":"sha512-WOPxHUM0R4HAX9WQPmWCN7cC3K8SQ7SU8LzdB+OaIpw/dGt5xf8eG2WUbwPbBfnXJ6ktafpHbqqqSGdnsJLEUg==","signatures":[{"sig":"MEYCIQD/0U7DdmnNDRkAuiLbSUY0FnLBW8kHlqbQHlbk+m4IwwIhANWW4xO60fabDVfxmbvFwAxoG/9g+A2+bccRVfa2G0ke","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","_shasum":"c6c3e4ef0e415e78c43489d61d7284dc45f05dd3","gitHead":"4ea77ea2fdfe466f90fec7d51567bd8fe2bd5a33","scripts":{"test":"istanbul cover _mocha"},"_npmUser":{"name":"jwalton","email":"npm@lucid.thedreaming.org"},"repository":{"url":"git+https://github.com/jwalton/node-promise-breaker.git","type":"git"},"_npmVersion":"2.14.7","description":"Library to help write libraries that accept both promises and callbacks.","directories":{"test":"test"},"_nodeVersion":"4.2.1","dependencies":{},"devDependencies":{"chai":"^3.0.0","mocha":"^2.2.5","istanbul":"^0.3.15","coveralls":"^2.11.2","es6-promise":"^2.3.0","coffee-script":"^1.9.3","chai-as-promised":"^5.1.0"}},"3.0.0":{"name":"promise-breaker","version":"3.0.0","keywords":["promise","callback","library"],"author":{"url":"https://github.com/jwalton","name":"Jason Walton","email":"dev@lucid.thedreaming.org"},"license":"MIT","_id":"promise-breaker@3.0.0","maintainers":[{"name":"jwalton","email":"npm@lucid.thedreaming.org"}],"homepage":"https://github.com/jwalton/node-promise-breaker#readme","bugs":{"url":"https://github.com/jwalton/node-promise-breaker/issues"},"dist":{"shasum":"bed499d1a9c35944950462baf47246fc11f19d9f","tarball":"https://registry.npmjs.org/promise-breaker/-/promise-breaker-3.0.0.tgz","integrity":"sha512-8JWuSSMIrG/qqCdwlZlP3MuO7Zr9uMsxW4KW1F4gduGqZ5hQKNx9ZPLCjuwTp58yQ+a2jpMy6tILkMBxap5U2A==","signatures":[{"sig":"MEYCIQDwYqgfY9MdLxFxuIkGAoR8yvIG/C35I5LDQexTM7VbpQIhAI9VF2XeeGSmbms6SkHmpUtgd8+FgcCLENw2LGDIqe0Q","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","_shasum":"bed499d1a9c35944950462baf47246fc11f19d9f","gitHead":"2badc69eba7e94c7ccde5857c64b8b994f7c7598","scripts":{"test":"istanbul cover _mocha && eslint ./index.js"},"_npmUser":{"name":"jwalton","email":"npm@lucid.thedreaming.org"},"repository":{"url":"git+https://github.com/jwalton/node-promise-breaker.git","type":"git"},"_npmVersion":"2.14.7","description":"Library to help write libraries that accept both promises and callbacks.","directories":{"test":"test"},"_nodeVersion":"4.2.3","dependencies":{},"devDependencies":{"chai":"^3.0.0","mocha":"^2.2.5","eslint":"^1.10.3","istanbul":"^0.3.15","coveralls":"^2.11.2","es6-promise":"^2.3.0","coffee-script":"^1.9.3","chai-as-promised":"^5.1.0"}},"4.0.0":{"name":"promise-breaker","version":"4.0.0","keywords":["promise","callback","library"],"author":{"url":"https://github.com/jwalton","name":"Jason Walton","email":"dev@lucid.thedreaming.org"},"license":"MIT","_id":"promise-breaker@4.0.0","maintainers":[{"name":"jwalton","email":"npm@lucid.thedreaming.org"}],"homepage":"https://github.com/jwalton/node-promise-breaker#readme","bugs":{"url":"https://github.com/jwalton/node-promise-breaker/issues"},"dist":{"shasum":"abba01c6fe2679dfbb6588fbb5c2a3ad50df6186","tarball":"https://registry.npmjs.org/promise-breaker/-/promise-breaker-4.0.0.tgz","integrity":"sha512-o8Ys2SRh5jy+cPFZcv9Pq2iSqRcNsF671fIrELI4Xs/2QlVl17LyJxlohe9ZOkY38XFlbYi8HnNqp0tOWjtwSw==","signatures":[{"sig":"MEUCIQDBk+IuS3MtRaGp7UGDABinoTkVh9c1YdpTcp5ZYPetqgIgYMValDVL5cy1JqFo3chqEtpkTEhrxGfkILl16r9/Jhc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","_shasum":"abba01c6fe2679dfbb6588fbb5c2a3ad50df6186","gitHead":"c78a05f5710954235ed56272dff704b823f72527","scripts":{"test":"istanbul cover _mocha && eslint ./index.js"},"_npmUser":{"name":"jwalton","email":"npm@lucid.thedreaming.org"},"repository":{"url":"git+https://github.com/jwalton/node-promise-breaker.git","type":"git"},"_npmVersion":"3.10.10","description":"Library to help write libraries that accept both promises and callbacks.","directories":{"test":"test"},"_nodeVersion":"6.10.0","dependencies":{},"devDependencies":{"chai":"^3.0.0","mocha":"^3.2.0","eslint":"^3.16.1","istanbul":"^0.4.5","coveralls":"^2.11.2","es6-promise":"^4.0.5","coffee-script":"^1.9.3","chai-as-promised":"^6.0.0"},"_npmOperationalInternal":{"tmp":"tmp/promise-breaker-4.0.0.tgz_1487977222528_0.7075800814200193","host":"packages-18-east.internal.npmjs.com"}},"4.0.1":{"name":"promise-breaker","version":"4.0.1","keywords":["promise","callback","library"],"author":{"url":"https://github.com/jwalton","name":"Jason Walton","email":"dev@lucid.thedreaming.org"},"license":"MIT","_id":"promise-breaker@4.0.1","maintainers":[{"name":"jwalton","email":"npm@lucid.thedreaming.org"}],"homepage":"https://github.com/jwalton/node-promise-breaker#readme","bugs":{"url":"https://github.com/jwalton/node-promise-breaker/issues"},"dist":{"shasum":"493b4c476b17ce1353520c243b56661e647a252d","tarball":"https://registry.npmjs.org/promise-breaker/-/promise-breaker-4.0.1.tgz","integrity":"sha512-YGRCom206lXL4Kszt1gFBofYv8bvCSNakM2K8RC6OE2t5wKy/3Mh9vr2MI8TbyovcJ9gQcJKqvdC9UrdzKySXw==","signatures":[{"sig":"MEYCIQCcP72NlUq0JW5bsLEm6EFxghzbO3BpzfoHo39Qg+1UAwIhANMJMVLfGA9IsQVFavcJUjuRXjJ2BBbOuc5/ZBB5j4ll","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","_shasum":"493b4c476b17ce1353520c243b56661e647a252d","gitHead":"dcf3ea33bf3da0fa486c20166d5f4f270c786880","scripts":{"test":"istanbul cover _mocha && eslint ./index.js"},"_npmUser":{"name":"jwalton","email":"npm@lucid.thedreaming.org"},"repository":{"url":"git+https://github.com/jwalton/node-promise-breaker.git","type":"git"},"_npmVersion":"3.10.10","description":"Library to help write libraries that accept both promises and callbacks.","directories":{"test":"test"},"_nodeVersion":"6.10.0","dependencies":{},"devDependencies":{"chai":"^3.0.0","mocha":"^3.2.0","eslint":"^3.16.1","istanbul":"^0.4.5","coveralls":"^2.11.2","es6-promise":"^4.0.5","coffee-script":"^1.9.3","chai-as-promised":"^6.0.0"},"_npmOperationalInternal":{"tmp":"tmp/promise-breaker-4.0.1.tgz_1488226764224_0.8896067335736006","host":"packages-18-east.internal.npmjs.com"}},"4.0.2":{"name":"promise-breaker","version":"4.0.2","keywords":["promise","callback","library"],"author":{"url":"https://github.com/jwalton","name":"Jason Walton","email":"dev@lucid.thedreaming.org"},"license":"MIT","_id":"promise-breaker@4.0.2","maintainers":[{"name":"jwalton","email":"npm@lucid.thedreaming.org"}],"homepage":"https://github.com/jwalton/node-promise-breaker#readme","bugs":{"url":"https://github.com/jwalton/node-promise-breaker/issues"},"dist":{"shasum":"3c1eeb2c2784e97805b0d7d6f49fae0fe0f71510","tarball":"https://registry.npmjs.org/promise-breaker/-/promise-breaker-4.0.2.tgz","integrity":"sha512-4dWdnIxVcKfsXe04zi2GrqNcr+Cw3op/02JVHOBDzNPOV/pSrjBrjcogZLDLVQYsfN2N4n530KJtcOGJA9CTQA==","signatures":[{"sig":"MEUCIHq9rhwZwC1cYc+CsU1nOWEhQo59t0kiuSScrV2KbpQFAiEAmHBU7ZxgF+w9DPXCUxR6rbrGe7gRzk1YFGMylIJkkO4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","_shasum":"3c1eeb2c2784e97805b0d7d6f49fae0fe0f71510","gitHead":"2212543fd0a4c3c6dd2b99c94715581075fac463","scripts":{"test":"istanbul cover _mocha && eslint ./index.js"},"_npmUser":{"name":"jwalton","email":"npm@lucid.thedreaming.org"},"repository":{"url":"git+https://github.com/jwalton/node-promise-breaker.git","type":"git"},"_npmVersion":"3.10.10","description":"Library to help write libraries that accept both promises and callbacks.","directories":{"test":"test"},"_nodeVersion":"6.10.0","dependencies":{},"devDependencies":{"chai":"^3.0.0","mocha":"^3.2.0","eslint":"^3.16.1","istanbul":"^0.4.5","coveralls":"^2.11.2","es6-promise":"^4.0.5","coffee-script":"^1.9.3","chai-as-promised":"^6.0.0"},"_npmOperationalInternal":{"tmp":"tmp/promise-breaker-4.0.2.tgz_1488232530532_0.9183939399663359","host":"packages-18-east.internal.npmjs.com"}},"4.0.3":{"name":"promise-breaker","version":"4.0.3","keywords":["promise","callback","library"],"author":{"url":"https://github.com/jwalton","name":"Jason Walton","email":"dev@lucid.thedreaming.org"},"license":"MIT","_id":"promise-breaker@4.0.3","maintainers":[{"name":"jwalton","email":"npm@lucid.thedreaming.org"}],"homepage":"https://github.com/jwalton/node-promise-breaker#readme","bugs":{"url":"https://github.com/jwalton/node-promise-breaker/issues"},"dist":{"shasum":"5e0b61bc7a9effda91ea225b74e51c668833fdb4","tarball":"https://registry.npmjs.org/promise-breaker/-/promise-breaker-4.0.3.tgz","integrity":"sha512-Wd75ToYHEdRx6Zi7QnXhZVpoCYJV9Up+jXy0HX2+W2EKFtsN2zgsFOMavpxXHsYWNUcQmT2Mpt+0mFB6Si2qcw==","signatures":[{"sig":"MEUCIQCbw22MNv3TBfBQiMSLF8nYVubUpwTsI7bRdf80Qgy5OwIgTY22Gn8fIK5f6/8C0gtwoe6cnQmUS709w0FvOtBa5wM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","_shasum":"5e0b61bc7a9effda91ea225b74e51c668833fdb4","gitHead":"ebf158c5ff2d183aecec68ed966cb8173693a538","scripts":{"test":"istanbul cover _mocha && eslint ./index.js"},"_npmUser":{"name":"jwalton","email":"npm@lucid.thedreaming.org"},"repository":{"url":"git+https://github.com/jwalton/node-promise-breaker.git","type":"git"},"_npmVersion":"3.10.10","description":"Library to help write libraries that accept both promises and callbacks.","directories":{"test":"test"},"_nodeVersion":"6.10.0","dependencies":{},"devDependencies":{"chai":"^3.0.0","mocha":"^3.2.0","eslint":"^3.16.1","istanbul":"^0.4.5","coveralls":"^2.11.2","es6-promise":"^4.0.5","coffee-script":"^1.9.3","chai-as-promised":"^6.0.0"},"_npmOperationalInternal":{"tmp":"tmp/promise-breaker-4.0.3.tgz_1488234671859_0.14666607836261392","host":"packages-12-west.internal.npmjs.com"}},"4.1.0":{"name":"promise-breaker","version":"4.1.0","keywords":["promise","callback","library"],"author":{"url":"https://github.com/jwalton","name":"Jason Walton","email":"dev@lucid.thedreaming.org"},"license":"MIT","_id":"promise-breaker@4.1.0","maintainers":[{"name":"jwalton","email":"npm@lucid.thedreaming.org"}],"homepage":"https://github.com/jwalton/node-promise-breaker#readme","bugs":{"url":"https://github.com/jwalton/node-promise-breaker/issues"},"dist":{"shasum":"790698ca2e242e850d8f3d8f61d403ffaa280bc8","tarball":"https://registry.npmjs.org/promise-breaker/-/promise-breaker-4.1.0.tgz","integrity":"sha512-WPwTdw+CpaSIKDUohAz6d5vuCCV/mPOUOWiFNa6SWYDRBjIbFOa0T7+ZB4mseuXsNaR4ehPyRnYH/CuBq7rlMg==","signatures":[{"sig":"MEUCIC5zDolr+6m7sD3Ph0KyX7FlCl/ME6W6ABG1TtFxDm4vAiEA6+e6xn3TqZb7KgK5SM6fhPPP8pVxQuyTwCcN2B2qlyk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","_shasum":"790698ca2e242e850d8f3d8f61d403ffaa280bc8","gitHead":"ad99eca1d1b9d8f9031a24d606792adc983544de","scripts":{"test":"istanbul cover _mocha && eslint ./index.js"},"_npmUser":{"name":"jwalton","email":"npm@lucid.thedreaming.org"},"repository":{"url":"git+https://github.com/jwalton/node-promise-breaker.git","type":"git"},"_npmVersion":"3.10.10","description":"Library to help write libraries that accept both promises and callbacks.","directories":{"test":"test"},"_nodeVersion":"6.10.0","dependencies":{},"devDependencies":{"chai":"^3.0.0","mocha":"^3.2.0","eslint":"^3.16.1","istanbul":"^0.4.5","coveralls":"^2.11.2","es6-promise":"^4.0.5","chai-as-promised":"^6.0.0"},"_npmOperationalInternal":{"tmp":"tmp/promise-breaker-4.1.0.tgz_1493671434276_0.2613423313014209","host":"packages-12-west.internal.npmjs.com"}},"4.1.2":{"name":"promise-breaker","version":"4.1.2","keywords":["promise","callback","library"],"author":{"url":"https://github.com/jwalton","name":"Jason Walton","email":"dev@lucid.thedreaming.org"},"license":"MIT","_id":"promise-breaker@4.1.2","maintainers":[{"name":"jwalton","email":"npm@lucid.thedreaming.org"}],"homepage":"https://github.com/jwalton/node-promise-breaker#readme","bugs":{"url":"https://github.com/jwalton/node-promise-breaker/issues"},"dist":{"shasum":"4b3e17fd37084b7a794293d11693f7ebdd5524b5","tarball":"https://registry.npmjs.org/promise-breaker/-/promise-breaker-4.1.2.tgz","integrity":"sha512-MC3OxJjPtTZcpN86Ut7s3EoKiLEzB2eo2j/vexe8bhfKyJW3G1R0+2HBb80Dc0hAWrV75Sy9Qteh1nCnco/u0A==","signatures":[{"sig":"MEYCIQD31WOsK5/v6tbdGeBqAuY+ku5Aoxe+ACy/JU1vNzbHJwIhAM30gRLVFZr9+yxeaZxtbP2hkAjFvZQYb8UGObyNv+BZ","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","_shasum":"4b3e17fd37084b7a794293d11693f7ebdd5524b5","gitHead":"a877c934093baa28225674657782b1bfc010faa7","scripts":{"test":"istanbul cover _mocha && eslint ./index.js"},"_npmUser":{"name":"jwalton","email":"npm@lucid.thedreaming.org"},"repository":{"url":"git+https://github.com/jwalton/node-promise-breaker.git","type":"git"},"_npmVersion":"3.10.10","description":"Library to help write libraries that accept both promises and callbacks.","directories":{"test":"test"},"_nodeVersion":"6.10.0","dependencies":{},"devDependencies":{"chai":"^4.1.2","mocha":"^4.0.1","eslint":"^3.19.0","istanbul":"^0.4.5","coveralls":"^3.0.0","es6-promise":"^4.0.5","chai-as-promised":"^7.1.1"},"_npmOperationalInternal":{"tmp":"tmp/promise-breaker-4.1.2.tgz_1508773239048_0.449293804820627","host":"s3://npm-registry-packages"}},"4.1.3":{"name":"promise-breaker","version":"4.1.3","keywords":["promise","callback","library"],"author":{"url":"https://github.com/jwalton","name":"Jason Walton","email":"dev@lucid.thedreaming.org"},"license":"MIT","_id":"promise-breaker@4.1.3","maintainers":[{"name":"jwalton","email":"npm@lucid.thedreaming.org"}],"homepage":"https://github.com/jwalton/node-promise-breaker#readme","bugs":{"url":"https://github.com/jwalton/node-promise-breaker/issues"},"dist":{"shasum":"1ba48c88c1802565d345e643f4488ec08f24f332","tarball":"https://registry.npmjs.org/promise-breaker/-/promise-breaker-4.1.3.tgz","integrity":"sha512-pWLEk7iE5rIbEUg+x+5V662szcMaZ6R+C3HAlIQz79Le6vxc3ZsU5R3lrBie1cC268pjDLV+ZDD7VY0l7kLpHQ==","signatures":[{"sig":"MEQCIE6e2U8VgjWp5bcCxaRSoZAHFmmtcYxkJ4XSeN7MfxVxAiBtS1jfbz2I0pVh8CPEt+Ka+qJrbMMcxpoSzRNoAoyAwQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","gitHead":"be072da883ac5f82d37f38a2dce2b53beab6cf31","scripts":{"test":"istanbul cover _mocha && eslint ./index.js"},"_npmUser":{"name":"jwalton","email":"npm@lucid.thedreaming.org"},"repository":{"url":"git+https://github.com/jwalton/node-promise-breaker.git","type":"git"},"_npmVersion":"5.5.1","description":"Library to help write libraries that accept both promises and callbacks.","directories":{"test":"test"},"_nodeVersion":"8.1.1","dependencies":{},"devDependencies":{"chai":"^4.1.2","mocha":"^4.0.1","eslint":"^3.19.0","istanbul":"^0.4.5","coveralls":"^3.0.0","es6-promise":"^4.0.5","chai-as-promised":"^7.1.1"},"_npmOperationalInternal":{"tmp":"tmp/promise-breaker-4.1.3.tgz_1509038612532_0.8169936144258827","host":"s3://npm-registry-packages"}},"4.1.4":{"name":"promise-breaker","version":"4.1.4","keywords":["promise","callback","library"],"author":{"url":"https://github.com/jwalton","name":"Jason Walton","email":"dev@lucid.thedreaming.org"},"license":"MIT","_id":"promise-breaker@4.1.4","maintainers":[{"name":"jwalton","email":"npm@lucid.thedreaming.org"}],"homepage":"https://github.com/jwalton/node-promise-breaker#readme","bugs":{"url":"https://github.com/jwalton/node-promise-breaker/issues"},"dist":{"shasum":"0ea6d712e7b45a575f8a1404578a172d9844fc20","tarball":"https://registry.npmjs.org/promise-breaker/-/promise-breaker-4.1.4.tgz","integrity":"sha512-Outnhi/GLUb5xfH2v4NHTq2B8FPUxFNXOP9KrK3yBNHlcnMu9EY/EA+FqirmrVlYeUSzUKjOmR9XOA4c9S0ctg==","signatures":[{"sig":"MEUCIQDjtSrdmv2Y6KhInPYFbWww7cFv7fNoUkQuxTY0/nkKRwIgaXH4/5NpAqJ9RBuMnA0tNmko8wy5oC78BDJdiiu3WxA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","gitHead":"ef9472cb31d4d3be808d26cd510517cf12096ede","scripts":{"test":"istanbul cover _mocha && eslint ./index.js"},"_npmUser":{"name":"jwalton","email":"npm@lucid.thedreaming.org"},"repository":{"url":"git+https://github.com/jwalton/node-promise-breaker.git","type":"git"},"_npmVersion":"5.5.1","description":"Library to help write libraries that accept both promises and callbacks.","directories":{"test":"test"},"_nodeVersion":"8.1.1","dependencies":{},"devDependencies":{"chai":"^4.1.2","mocha":"^4.0.1","eslint":"^3.19.0","istanbul":"^0.4.5","coveralls":"^3.0.0","es6-promise":"^4.0.5","chai-as-promised":"^7.1.1"},"_npmOperationalInternal":{"tmp":"tmp/promise-breaker-4.1.4.tgz_1509043223320_0.010229287901893258","host":"s3://npm-registry-packages"}},"4.1.5":{"name":"promise-breaker","version":"4.1.5","keywords":["promise","callback","library"],"author":{"url":"https://github.com/jwalton","name":"Jason Walton","email":"dev@lucid.thedreaming.org"},"license":"MIT","_id":"promise-breaker@4.1.5","maintainers":[{"name":"jwalton","email":"npm@lucid.thedreaming.org"}],"homepage":"https://github.com/jwalton/node-promise-breaker#readme","bugs":{"url":"https://github.com/jwalton/node-promise-breaker/issues"},"dist":{"shasum":"35f9fef0b43f43198758bc0323107f095909815f","tarball":"https://registry.npmjs.org/promise-breaker/-/promise-breaker-4.1.5.tgz","fileCount":7,"integrity":"sha512-RpbYKkuomBBKHTocEJ9WnpOmcbRFRdHOIaOH1IjMMlHIJyhDdCgFlMYmqhntilnIg2k+0rrt5jj7FKrBD53a9w==","signatures":[{"sig":"MEYCIQDfDN1I4U5cC6tuUf+ELzi1vCNqtbo8URun588AugdxnwIhAOJzfWO7AYLxeJmMig9QpBO2mM5T+QY5Gd05hwtiCQA3","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":25668,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa2jMICRA9TVsSAnZWagAA9scQAKNiF4LKTE0F5DQBTG08\nke1YkRyr2sN7kkE4FG6oByDEpJB9x0GgUbOttEoEHzYsYkPkppvSmcI4+nyw\nc6S42F7hgw2tZXc8+q7amQtYfJ1/TQFzVOGLgGM0UbU0bxPg/itQkL1+jgzB\nbNa5EGgXGjATojHhSmrqx0oNMMBos5le+9KFBToS5UABOfZrW6ZS/GoVFdiP\nZuPXkhAo/LMyiG02FtxdoYzrUHhhHRmCYm6MzXNAl6MojUm1DFZrVAQfjRS2\nz/4iJKKEvLSsQuKsxADQrwtC/dZ//sHQ90rJihvFTi+Ig263LCQwPcjKi7Vp\nF+ytmHqOyJRN/Ox35w9B90umOEenoC2xDkB4awnZWbnDBzMlCAe6GyW9sgZ1\nWISHIBTe6RqWhkbtsk+2yTgnmlm5ZCDDPOgh05DPqrgwlNECBnyfJqpTQISM\njWdTP6lQRwUtAuF903F4sDTsdB8/HREVgn7atsIZ2cy6ZDR2Rmd5ynZgQl78\nN31OBxcvndY3WjJI3vxiYot+1wq2aHTkVMGZkck8y5qKawC7/MzuQ8YrHR5i\nBZ1tTjRGI58Lvns1OIGj1vdriEqvOwjxDkd9bteTv7t3nccKZHmfSY9c0HKE\n2TWpsHMqjwoS5qvfbIH1qN5LhJaVNvFsaNy21cRbC+SGgqClv3N2zhfAOE+Q\niwRl\r\n=d5rh\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","types":"index.d.ts","gitHead":"4a789308afe99747b04e177322037a2670da96e7","scripts":{"test":"eslint ./index.js && istanbul cover _mocha"},"_npmUser":{"name":"jwalton","email":"npm@lucid.thedreaming.org"},"repository":{"url":"git+https://github.com/jwalton/node-promise-breaker.git","type":"git"},"_npmVersion":"5.8.0","description":"Library to help write libraries that accept both promises and callbacks.","directories":{"test":"test"},"_nodeVersion":"8.11.1","dependencies":{},"_hasShrinkwrap":false,"devDependencies":{"chai":"^4.1.2","mocha":"^5.1.1","eslint":"^4.19.1","istanbul":"^0.4.5","coveralls":"^3.0.0","es6-promise":"^4.0.5","chai-as-promised":"^7.1.1"},"_npmOperationalInternal":{"tmp":"tmp/promise-breaker_4.1.5_1524249350785_0.2524547297222073","host":"s3://npm-registry-packages"}},"4.1.6":{"name":"promise-breaker","version":"4.1.6","keywords":["promise","callback","library"],"author":{"url":"https://github.com/jwalton","name":"Jason Walton","email":"dev@lucid.thedreaming.org"},"license":"MIT","_id":"promise-breaker@4.1.6","maintainers":[{"name":"jwalton","email":"npm@lucid.thedreaming.org"}],"homepage":"https://github.com/jwalton/node-promise-breaker#readme","bugs":{"url":"https://github.com/jwalton/node-promise-breaker/issues"},"dist":{"shasum":"aa11aef37685cf3706e331f0cb1ee0c5e6501a03","tarball":"https://registry.npmjs.org/promise-breaker/-/promise-breaker-4.1.6.tgz","fileCount":6,"integrity":"sha512-oOsN0nYpql/FPfOjW6FFOau4ipE5s1glp9FGe4vb1gFSsxYif+po9dROMYFXQe36HfxqhExRTJWwf6RRdogCEQ==","signatures":[{"sig":"MEYCIQCjR7BfK26DD7NP35tF4dc6gDV4IIs6E4KkxtA515u1wAIhAK2oIpXvDp4ntmEcSHZfOLL7zV1kJqOm2RovEATGL2N/","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":25609,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa2lapCRA9TVsSAnZWagAA5EYP/0aBJUnNMNKKlpgUM7T0\n9y03jc6eUy1X8BpgFiWNTcgX+FNXx0GJE+Q18IwdbYAgrcXdCAFSv4dopcYI\nIFEi0LC2d49l8j6J0SN4Fdg9dQd/Zk8ZFyZvPkwKdF3fJIcrDs15NHvpkfvU\nJPtgiaIjaT4TQEmI/KXhoyLrgokKGe/Q1wkD/FKwGDekInSJ1UdDNNu9hBNt\nBnVXz9EdK6BIFptVc6A/VpNgKahsKaDyWGNtP8hMpJ10eTizXMK2LYM7PJNW\nHHHaN3vyn6yyYwUAeSk5wcB/xMBWW3MZQWxa3lzz24H0TaPt6hGqmVJecIIm\nHDg40/AdNDuiG9/gwOEEmntVyqr1y8qNrTgxAVOKglffEq8F9FRuucXybRZf\n/gWkW0isFsJNX/QI48mRJqvOwvmTsROym9tu0sAKyptz9RIrbaibBTiRV9DZ\nzKIiPBj2YS01SHDdjJHqrgoDvD+uxEG31VpFWtsGewpWrSlJmg7c7De1fKBV\nBPUXzbGS935hOjOQ2+SLEhOi+66flhVzHOQu90t1xpASDeemwIz6IsRmLnRj\ne62bJQyE+Vd1uN7XGK4wuoUIHRsCUNfvhZwCQuZOzocdvcaZLi8THvQxa3jJ\n/Iwr60QT+9uZYRpHy6+ujFFt5sKkIpBE7bP22Ym5Az2cfRHxYeQ1zdK1sYt4\nwmX0\r\n=j8gW\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","types":"index.d.ts","gitHead":"f1cfdb5b1e5a3afcb68734b1bbc2156360ad0dfd","scripts":{"test":"eslint ./index.js && istanbul cover _mocha"},"_npmUser":{"name":"jwalton","email":"npm@lucid.thedreaming.org"},"repository":{"url":"git+https://github.com/jwalton/node-promise-breaker.git","type":"git"},"_npmVersion":"5.8.0","description":"Library to help write libraries that accept both promises and callbacks.","directories":{"test":"test"},"_nodeVersion":"8.11.1","dependencies":{},"_hasShrinkwrap":false,"devDependencies":{"chai":"^4.1.2","mocha":"^5.1.1","eslint":"^4.19.1","istanbul":"^0.4.5","coveralls":"^3.0.0","es6-promise":"^4.0.5","chai-as-promised":"^7.1.1"},"_npmOperationalInternal":{"tmp":"tmp/promise-breaker_4.1.6_1524258472686_0.3516262858309187","host":"s3://npm-registry-packages"}},"4.1.7":{"name":"promise-breaker","version":"4.1.7","keywords":["promise","callback","library"],"author":{"url":"https://github.com/jwalton","name":"Jason Walton","email":"dev@lucid.thedreaming.org"},"license":"MIT","_id":"promise-breaker@4.1.7","maintainers":[{"name":"jwalton","email":"npm@lucid.thedreaming.org"}],"homepage":"https://github.com/jwalton/node-promise-breaker#readme","bugs":{"url":"https://github.com/jwalton/node-promise-breaker/issues"},"dist":{"shasum":"b48d49978846698e8a4aed08b4a3e6c3c985b1d3","tarball":"https://registry.npmjs.org/promise-breaker/-/promise-breaker-4.1.7.tgz","fileCount":6,"integrity":"sha512-JWjCBvYEq6+iYLtkOHwdMZIe2KjmdfFaXnJdnE0kKSyi00+Qd/Ipnnx3qkagrSr5hdko1FoQ29aEmjqL7vnS5w==","signatures":[{"sig":"MEUCIQCH6y9B+Xe5h3MxBqTJBP/PcNu6PpfrL01C/Z3Syj9zpgIgEwbkNRkax62nVPNbw9PzS2R1c07nY6B2MnUzJ8lsnvU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":25647,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa4MsHCRA9TVsSAnZWagAA0tkP/juzJ+BvzIBRyk3VwzLR\nV/ZhPTz1WHNP5ocmoeJrJne3vdjRp0lfn4CbFGdHPeeUTEaMvPyGta0oLPfQ\nMi779Xha9FUYAmqvCxIk0g1SV1YyrqIhu7I+LmCTjF1yBq9MuFrHfQu8UZrc\nbwCF7YN+X3s1p/y3z2fv4fQ52GBi1CW7A9mhftYsiwlIw/p9IB/DmOFqMRAe\njIUFm/lsLdJFLpoQADDTbi69jOa0zSC4A2m9+U2LS88Uja6m2NnLEEDL0lch\nh1zzfy0kudm9jDtjZr5WhqInX1c7gMTbct08gpscMmiAKg6XcskldyBz4RNC\nWjqrdJfQ7TPjleGtifRhva6OGTBNb7I3xP89+7jvkGy28UT2ZPi+kZJc0Z4K\n5bcSKmYBA5sCuOS81b0WkJoDU3NQGrHxlXx9AcEqOzIlMU1tOGjHWNwxyBl1\nujJNkkfG1deifr+0JIu0WHG7NIi7h1XzkeuVu7zkHne1q6YpfpsdFnCCvCb3\nkAOvS4dgfngcJ0fm6CpyvNhlJfonBCQpaNVNvXTBAmkND+AJEKDyg+b0+3tA\nVlsf0RdA4fkOJFS2up4qvPZ3A5Og5c4EQGHCbEo8CxBoeXttbD1glBOkIYO9\nlWgZjMQnyOKWothnVfZ9K7/YtLKyAOD3MKnbuZbo9nUAXtFgNHR3WtAtty7C\ncFhD\r\n=yN95\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","types":"index.d.ts","gitHead":"11caab891f9d59c974452d2315a553859f602bf5","scripts":{"test":"eslint ./index.js && istanbul cover _mocha"},"_npmUser":{"name":"jwalton","email":"npm@lucid.thedreaming.org"},"repository":{"url":"git+https://github.com/jwalton/node-promise-breaker.git","type":"git"},"_npmVersion":"5.8.0","description":"Library to help write libraries that accept both promises and callbacks.","directories":{"test":"test"},"_nodeVersion":"8.11.1","dependencies":{},"_hasShrinkwrap":false,"devDependencies":{"chai":"^4.1.2","mocha":"^5.1.1","eslint":"^4.19.1","istanbul":"^0.4.5","coveralls":"^3.0.0","es6-promise":"^4.0.5","chai-as-promised":"^7.1.1"},"_npmOperationalInternal":{"tmp":"tmp/promise-breaker_4.1.7_1524681478105_0.7287315612661043","host":"s3://npm-registry-packages"}},"4.1.8":{"name":"promise-breaker","version":"4.1.8","keywords":["promise","callback","library"],"author":{"url":"https://github.com/jwalton","name":"Jason Walton","email":"dev@lucid.thedreaming.org"},"license":"MIT","_id":"promise-breaker@4.1.8","maintainers":[{"name":"jwalton","email":"npm@lucid.thedreaming.org"}],"homepage":"https://github.com/jwalton/node-promise-breaker#readme","bugs":{"url":"https://github.com/jwalton/node-promise-breaker/issues"},"dist":{"shasum":"f5de9afd0183a28007862e9ad5218f708cff8654","tarball":"https://registry.npmjs.org/promise-breaker/-/promise-breaker-4.1.8.tgz","fileCount":6,"integrity":"sha512-f64WkacL6nSzObPHDGtRwLoa5mLnjdTVel7J3k14jnKhNsGUIVP9k0clUDBtn0xhIkOV4OFRYZWcpQvnO1XszA==","signatures":[{"sig":"MEYCIQD52JdFDiHj03RGPg5C9QvAgqishQei2sJNjWdluluWuAIhAPrpqkziDx/PwCJCtl6Mr3a2LuW15v1D2ur44aZOwjsL","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":25694,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa4M+wCRA9TVsSAnZWagAAa78QAIRKxVwB6CaC+NmhzEO5\nskjGz8dXKnR74i6WOGy6CELgZLqFjfseNyKuXPy6v4DSEWF0rDK6e4b2GAse\n1XiueYAMwgzrTqR4KSQASMuIDtfwYnihDfkiVmM5gHxAz+C8IKNJf3Perb7T\nTOCStXYOk3i6d1zu1Lol91cVmmj9w6stuLAzOX3EUfZcab8nqg0vVKyupViF\nAaJjwJnLHEZvjr8MYIKZihkaGEX8JIeOjl03s9O2prJ1oawvx+9K4jIqnSi9\nnI9b4c8Rb4+3Yv9LfCm0W44UbkToHHGXuFt32ppoP11Qf9QUvO5beaWHyhRa\nmUrnAoeAwp4QUi3bOJqmbMoGswjZP3xdlS+qqyPO9SeItDELSUnWzhtr1nqd\n2yXPWeSYZeRcSLwpLSHiLvb/kAj/2q9gqjpH4kTvfBknCUE2+NMuWwVDUzA/\nSNut+5+eCdG1lkX70rIn02vqoZbXtjuvOw0IQma2dzsZH8ukO4OtwO4+sL2X\nwut5QZb8tMMJ4m81ybaU9zWEMkXcvYUwr8hhHxCSDkrk7j99QyrDGLDguqVo\nhRyaHkvaSu7SORzqsiV1sOKkedTLPQWt+EufXizeEa3Qv+IE+QiIwQ8CA4Kt\n1LFpn3H2cUrYdX4vgA18Rb+sIJF3Oes7/+chef2hW54+ZpySwOeQ9nz6dFBY\nU9U/\r\n=ae17\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","types":"index.d.ts","gitHead":"4606900f5d55feaa77103e83184d68a4c2f58481","scripts":{"test":"eslint ./index.js && istanbul cover _mocha"},"_npmUser":{"name":"jwalton","email":"npm@lucid.thedreaming.org"},"repository":{"url":"git+https://github.com/jwalton/node-promise-breaker.git","type":"git"},"_npmVersion":"5.8.0","description":"Library to help write libraries that accept both promises and callbacks.","directories":{"test":"test"},"_nodeVersion":"8.11.1","dependencies":{},"_hasShrinkwrap":false,"devDependencies":{"chai":"^4.1.2","mocha":"^5.1.1","eslint":"^4.19.1","istanbul":"^0.4.5","coveralls":"^3.0.0","es6-promise":"^4.0.5","chai-as-promised":"^7.1.1"},"_npmOperationalInternal":{"tmp":"tmp/promise-breaker_4.1.8_1524682671336_0.6014140968791588","host":"s3://npm-registry-packages"}},"4.1.9":{"name":"promise-breaker","version":"4.1.9","keywords":["promise","callback","library"],"author":{"url":"https://github.com/jwalton","name":"Jason Walton","email":"dev@lucid.thedreaming.org"},"license":"MIT","_id":"promise-breaker@4.1.9","maintainers":[{"name":"jwalton","email":"npm@lucid.thedreaming.org"}],"homepage":"https://github.com/jwalton/node-promise-breaker#readme","bugs":{"url":"https://github.com/jwalton/node-promise-breaker/issues"},"dist":{"shasum":"810f837ca189be7b9a3ba6bcff47c0fab7d0dc6b","tarball":"https://registry.npmjs.org/promise-breaker/-/promise-breaker-4.1.9.tgz","fileCount":6,"integrity":"sha512-bCE6eUDP00gp2D9FosujBFBUG/LZ4EzW6DWqSAYQlZKjkUcLxKnxmlrnlExVlrcVmI1Wsv3qMhdegfbC2W/EFg==","signatures":[{"sig":"MEUCIQCu99aCi8T+eQ7SRXIGu+adBAnwKGnurg3+gMtvOErVCAIgSjmw7EKrAow4Rt0tJDdwbuf/3yEku81Pm15fmJzT/w4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":25706,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa4f6+CRA9TVsSAnZWagAA2aAP/jYV0Zi278KSGfSzSDfV\nDBQ38RgHOs9R6O9/TEQX18T6deb1IcKEOog9bErL/h4JRcQFSD4+iVqrfgH1\nsAYTWQtWx4im47BX4t4iTqVY2nFvoZr5+dh9IK94aJ65YIPfe0iLLS0iYQGw\n042sq1r/pgQ8PRC9q+S/FoeZXY/MBO4bLzioVhNVapAb3W1X1K9zcpBEAi1N\n4XrnlTpHTDhAhEJCsfL4nBe7oY4llVZXdBq2VvXi9yeI+yI3hMf9jjK7EIPM\nE9bvFMGcCVrAD359T6FlqA4O600wyCRKzUP2r8ioWs8XZa5/FAy0UQK6wEen\njzHL/Mvjlt//SEz1/dj5qzOezx9jKbghsNtr70e1qLMqZvegc1b6x0y1k1CO\nwAuOWI11//63XtoF71VarkljiEu852eAJqK+NCPAtqnfq3NpjmZbJL4Y2pMq\nJ/W3c05W+m5dQ4vVNK0IsZEPJEJTHYkp5osOyACXx62dDDvZVJptnL9uYRxP\nreXWEnNwt7kfk8d/S79VbkCAnp1/ZXugfaCooAEljHtIN6JyJDCLKtPsLUz/\n7Fi0SwRyXt44leFPBeRNFaKMs9ZaUi24LncoF6NbQfYJOQUlRIXStDKsNBim\nnKF97nkOl10ZEKWShGYX1pkunRsvcKcryus/LO0jfMLbV0jYmlGlv5wFQqKj\nbvpn\r\n=kuiv\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","types":"index.d.ts","gitHead":"8a2da13f7b09f632899d15842e70f82e02d97235","scripts":{"test":"eslint ./index.js && istanbul cover _mocha"},"_npmUser":{"name":"jwalton","email":"npm@lucid.thedreaming.org"},"repository":{"url":"git+https://github.com/jwalton/node-promise-breaker.git","type":"git"},"_npmVersion":"5.8.0","description":"Library to help write libraries that accept both promises and callbacks.","directories":{"test":"test"},"_nodeVersion":"8.11.1","dependencies":{},"_hasShrinkwrap":false,"devDependencies":{"chai":"^4.1.2","mocha":"^5.1.1","eslint":"^4.19.1","istanbul":"^0.4.5","coveralls":"^3.0.0","es6-promise":"^4.0.5","chai-as-promised":"^7.1.1"},"_npmOperationalInternal":{"tmp":"tmp/promise-breaker_4.1.9_1524760254300_0.5273877200487753","host":"s3://npm-registry-packages"}},"4.1.10":{"name":"promise-breaker","version":"4.1.10","keywords":["promise","callback","library"],"author":{"url":"https://github.com/jwalton","name":"Jason Walton","email":"dev@lucid.thedreaming.org"},"license":"MIT","_id":"promise-breaker@4.1.10","maintainers":[{"name":"jwalton","email":"npm@lucid.thedreaming.org"}],"homepage":"https://github.com/jwalton/node-promise-breaker#readme","bugs":{"url":"https://github.com/jwalton/node-promise-breaker/issues"},"dist":{"shasum":"fa0c208e172943ceae7268b51426a8e94d994d9a","tarball":"https://registry.npmjs.org/promise-breaker/-/promise-breaker-4.1.10.tgz","fileCount":6,"integrity":"sha512-BZFOerHRXc38Jx64M6zWxfePSKiQAA4PmQzUkuznJeNq9CRuNqx9x2xBN8lBllmL0bFIAIFlRgNYdaEeMT3UeA==","signatures":[{"sig":"MEUCIQCXb/1nbYfMIi+HKG5wudGJt7S24dcZL+viCi9NQr5m0QIgcVPkPtKsUpolG1Igqm3AMliLs8sXJSFhEjt8w00gfEU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":25707,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa4hoDCRA9TVsSAnZWagAAp9kQAJMn7FbZF4qBBPV9lfhy\nw446/7pErfb6+5gpr39Gg57oI2QdrEBlPofrelFWfLaopxCq+aqr60uVJeIP\naVTcClzSGbKOnCT6jiN7kgtMusIzUh0Tx+2pmjh1i3d/gig3QxxOo6YyRwQY\nEKNf3aQzUalIswQKCSEi+vNIguyPwVJWoPSwwmtPD49UpPCPB5aPJqaS/ibB\nNIikCSmjt8yUBoLft5Lh/LjbUkXAlAZ5L8WcJwmurDURg0o6xgfhOF8MNIz0\nYjmINXervL1PMmj81tjrjYLn5g0acBJwXJISyV+oQrlA6x6ni60YYx68glT8\nXz8bsXaTQGh8cE1/QqKkhkbSZjrhhRzGqXHUBzlpgc36tm1HYxpJ8RF5sm2I\nZkwuqmar2+fotSv3NH/rtlDg9A57Z5qPKOc+apnRa7AmHauqItSHtg+/cNEh\nodaSwkGXlAixlzlK+kmmvOGZzhem1oMpUbDoa2pkQPVfHxEls/PeVw2bZ81q\nwglYOeGNoQ6g7P8U6Fq/SPnSvHERnhfYgvbQLFHET+MUDUQtw38VPogDBd71\nC+ELKy8hP23TSXFWQYyAhhdrn7C6C9jJTn/bzEbHsK7SI1Moe5BolmT2s/uA\nk6eMVppdEiThyfoiGm0nCYnAsdd0bIVyWjv9MDTzJMscgro+4aHVlwYj4Wae\n6C0k\r\n=jQSn\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","types":"index.d.ts","gitHead":"dae482f890f89f54274dac21ead2dcfb2fc561b4","scripts":{"test":"eslint ./index.js && istanbul cover _mocha"},"_npmUser":{"name":"jwalton","email":"npm@lucid.thedreaming.org"},"repository":{"url":"git+https://github.com/jwalton/node-promise-breaker.git","type":"git"},"_npmVersion":"5.8.0","description":"Library to help write libraries that accept both promises and callbacks.","directories":{"test":"test"},"_nodeVersion":"8.11.1","dependencies":{},"_hasShrinkwrap":false,"devDependencies":{"chai":"^4.1.2","mocha":"^5.1.1","eslint":"^4.19.1","istanbul":"^0.4.5","coveralls":"^3.0.0","es6-promise":"^4.0.5","chai-as-promised":"^7.1.1"},"_npmOperationalInternal":{"tmp":"tmp/promise-breaker_4.1.10_1524767234216_0.030328760113656372","host":"s3://npm-registry-packages"}},"4.1.11":{"name":"promise-breaker","version":"4.1.11","keywords":["promise","callback","library"],"author":{"url":"https://github.com/jwalton","name":"Jason Walton","email":"dev@lucid.thedreaming.org"},"license":"MIT","_id":"promise-breaker@4.1.11","maintainers":[{"name":"jwalton","email":"npm@lucid.thedreaming.org"}],"homepage":"https://github.com/jwalton/node-promise-breaker#readme","bugs":{"url":"https://github.com/jwalton/node-promise-breaker/issues"},"dist":{"shasum":"c9cbd28a3c5627451ad2e3eabcc3e4617bf97491","tarball":"https://registry.npmjs.org/promise-breaker/-/promise-breaker-4.1.11.tgz","fileCount":7,"integrity":"sha512-pzp+uNPxHofRhgZ27y+94Kj87fNX2Mu9A9HGpTQQWdyzMpfYT419lhE32zWnqhUCQVrXmvYPDw76pnrwWc+BpQ==","signatures":[{"sig":"MEYCIQCHBJRqn1JldvUNQwJZ6xX1AtGG+LYRU2S33ER+oaLtZgIhAOCt5xc/HU4SfmcsC57RWfQOrSyJH3ZoOYXvragAefgZ","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":26886,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa8HtcCRA9TVsSAnZWagAAb4EP/3rrqSDlxNObnZZ249de\nIhm5WWUBxvBbWCpiq2xn02VX0sgioCtnE3JjICKJc5n6ifcoBI+d4cDlTFMx\nNwZhZktoCQa8LUl1dhAYnsBIE6uXnb4kwQHCYl097YZzOHAK7AbW5EUfRMsz\ndg9fg7FcdO6ANRZDbB0Bkq3hxIaqtff2S2C0rHFEK91gWT6FQW+dn0PY3Vtq\nkboar5J/QP9MwTx65X8RjZjWIAOF02swHoPzrmGnmRGmSBmGWhMWmQG360BS\n3fBckTlRqNIuJYEHsvz6rlexlbaduPCtTSm0vayjvX38kprC6EkOvtVHyO1p\n2DJ/r5qnifmV15KCJZ6o9d5658NMtbBKYubIUaXqN+LU4VoPcWjJznHvdmM8\nC2fwWyu8WKGU9fbZnX7slwY/LYERV83hta9ASuMnETmXz5VcZwfsOEYHwSEj\n7O7VUjp8dDSHg7S5+HUqCmFvBmxkRxTtgzqCLKCWusEA5+JlfJBPUAQsP623\nys2QQ9YwjjjGjZgwlf7Y/aAiJxhqE2HGeMUytq2z3ufmwo2jMdU4TACcoZbI\n6f62J87w/+GZtxB8E2aGEvZnTvDT6TKyj7/yrFimWEYKeGgr8xG5zwYhGkfs\n9x0o1ZWwNZhoM5dtOZnLf+D2Foqaggkbr4/gNGMAISMKPDuxW+uO0vZptyYv\nbhMB\r\n=1Rsg\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","husky":{"hooks":{"commit-msg":"commitlint -e $GIT_PARAMS"}},"types":"index.d.ts","gitHead":"a850f82443d0984a4847d56dd406c26e3365e16c","scripts":{"test":"eslint ./index.js && istanbul cover _mocha","semantic-release":"semantic-release"},"_npmUser":{"name":"jwalton","email":"npm@lucid.thedreaming.org"},"repository":{"url":"git+https://github.com/jwalton/node-promise-breaker.git","type":"git"},"_npmVersion":"6.0.0","description":"Library to help write libraries that accept both promises and callbacks.","directories":{"test":"test"},"_nodeVersion":"8.11.1","dependencies":{},"_hasShrinkwrap":false,"devDependencies":{"chai":"^4.1.2","husky":"^1.0.0-rc.2","mocha":"^5.1.1","eslint":"^4.19.1","istanbul":"^0.4.5","coveralls":"^3.0.0","commitlint":"^6.2.0","es6-promise":"^4.0.5","chai-as-promised":"^7.1.1","semantic-release":"^15.3.1","@semantic-release/git":"^4.0.3","@semantic-release/changelog":"^2.0.2"},"_npmOperationalInternal":{"tmp":"tmp/promise-breaker_4.1.11_1525709658419_0.947570736751586","host":"s3://npm-registry-packages"}},"4.1.12":{"name":"promise-breaker","version":"4.1.12","keywords":["promise","callback","library"],"author":{"url":"https://github.com/jwalton","name":"Jason Walton","email":"dev@lucid.thedreaming.org"},"license":"MIT","_id":"promise-breaker@4.1.12","maintainers":[{"name":"jwalton","email":"npm@lucid.thedreaming.org"}],"homepage":"https://github.com/jwalton/node-promise-breaker#readme","bugs":{"url":"https://github.com/jwalton/node-promise-breaker/issues"},"dist":{"shasum":"ac02a7d1ab251297b6392b8109c51aac4b6ea18b","tarball":"https://registry.npmjs.org/promise-breaker/-/promise-breaker-4.1.12.tgz","fileCount":9,"integrity":"sha512-Parn+l+gB8ij37pne0zdytQEGMReuxEMSISjkDrF6JOwHAXcf33ztFLYW6i95RerRQr/1I3SCLmeKW4tXoZKsA==","signatures":[{"sig":"MEYCIQDo4fu9q6ZMsctY3T82Q+egPYgMOX7g03bVk6ozIVmA+AIhAJ03TirVyyxhbpV7V4QvwgL1Ufz0wO/IvvPdcTWDoO0D","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":46060,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcAELcCRA9TVsSAnZWagAAQWgQAI5M3WcHBuTpnLRpq62V\nQ4wEEGc3s2wA9DFjqxUX9XOLUkSV8qOLMcc9So8XzaB4Sekuh0jqeNerzJcu\nvh8nUseoEQ+wV3u0VqAR5FJycPJw3Tlh8S29U1jMhTi4/GaWvmO+tL1U9Hst\npXj87kuhhu0WYtaO2A52OmebFkEgqhAW4zsbPoJeRLejEPfA5aYFY73LV1Hk\n0GScn+5XLWBxz+fqFWWjExuxwHNCp0P553Q9TSVRkZK3gfvsSMG/b6jaqHGf\nonksoQ4OlvGpNkTcBWDjammJOFnBntChuO3LucTKAsD+JwEZJyjJyDWC5E8A\nBwp0tPjVz8CO95Xfqg5OR5Jny3PQ575cdnQMtD2N6T6FVm7zinh+qlrS9tsW\n6oWx3GPdGhq9bGJlYweDbD7hVuFxTsMQssSiVR1rLD6HLtfqr8+56EM6qJUx\nv4JuRwVAqs+dGaxrCHaJMVSPlOzWExSVWpmpBO/Vl2QSGkd6jHDDcacW94lO\nj2lf2wrrURrcdt44b8cltQulgQ7IgWevrBhjuPARX2XWpGVwWXKKQ9lMbswd\nC7o63Tp8ndGZJTFQXgZ4wk6UssyPRU4cifmQO7ZyLjcUqmvUPUkBLfpPx4sN\nuN8/Kk6C/utVHfNuRl0qTKi9my7SKcq+qveF4Afjq+OaoIH1dqm1WJCOuytu\nnlLi\r\n=4JP0\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","types":"index.d.ts","gitHead":"f522cdaeeacf90faa783dec68aefa38e30cb073f","scripts":{"test":"eslint ./index.js && istanbul cover _mocha","semantic-release":"semantic-release"},"_npmUser":{"name":"jwalton","email":"npm@lucid.thedreaming.org"},"repository":{"url":"git+https://github.com/jwalton/node-promise-breaker.git","type":"git"},"_npmVersion":"6.4.1","description":"Library to help write libraries that accept both promises and callbacks.","directories":{"test":"test"},"_nodeVersion":"10.14.1","dependencies":{},"_hasShrinkwrap":false,"devDependencies":{"chai":"^4.2.0","husky":"^1.2.0","mocha":"^5.2.0","eslint":"^5.9.0","istanbul":"^0.4.5","coveralls":"^3.0.2","es6-promise":"^4.2.5","chai-as-promised":"^7.1.1","semantic-release":"^15.12.3","@semantic-release/git":"^7.0.5","@semantic-release/changelog":"^3.0.1","@jwalton/semantic-release-config":"^1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/promise-breaker_4.1.12_1543520987681_0.7628449014122269","host":"s3://npm-registry-packages"}},"4.1.13":{"name":"promise-breaker","version":"4.1.13","keywords":["promise","callback","library"],"author":{"url":"https://github.com/jwalton","name":"Jason Walton","email":"dev@lucid.thedreaming.org"},"license":"MIT","_id":"promise-breaker@4.1.13","maintainers":[{"name":"jwalton","email":"npm@lucid.thedreaming.org"}],"homepage":"https://github.com/jwalton/node-promise-breaker#readme","bugs":{"url":"https://github.com/jwalton/node-promise-breaker/issues"},"dist":{"shasum":"fe57ad0a1f14912682942391de1e6a2b4e2e447b","tarball":"https://registry.npmjs.org/promise-breaker/-/promise-breaker-4.1.13.tgz","fileCount":9,"integrity":"sha512-+lGBqmBEgyvKweIrK4smdN1YxdYp5YjSL1us2XhTMBbZf98jdeGys/Edt5S1b1NXMVRQrvh4DrMgGpYPbXZf3g==","signatures":[{"sig":"MEQCIEc3rkW+5LyNSTlw01q2cN8KGBIXm1WnINXglKzIr98IAiArd/jYSbHfzzPCal3jScKzGQD4xYH7A3cUEJus1GIERQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":45652,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcAExdCRA9TVsSAnZWagAAo8wP/iU0h3sqOISbTX7733vT\n9cP0oh0vJRDX/LCYg6ukYVXsHyJ9Bd27/aAveUur/gG3b02HcFNglg+KKl64\n4qEJ57nYHSJb0W3Jj0pMQsthFtwGJ13zibjkabB0AQFq4zmJlP1Gvqd+99IJ\niGGgoiuSXXeniEFl6O4pVVurntrroPZbeJn5WB0TB8Dtf4Np1Y3dit5qr/V8\nN+DXz5xlhq3fjsCo6nEQS60d80KyVAUqYbk8txaDRJFd7X9CJxA9bZ/AAtJh\nMaVYlC9hJi6VkxwBvoUQgA0sTMWpRvQNVB8ZVv13RjxWTVrbeGxAez8w+eGk\ndztyA7bNTgp9Cxnu0pcGkNNrZxwICPgalkSKOQ3M1Ob6mGevXflpsx9j5Sff\nFuTQgnGm6kNFjeUNCZDxnQkLBRFcbzSNT616UxWt19Dj5tcWgs6Yuw2rhGAP\nVbpXqiLWCMGv+uUhse6vr7CBUNv0sMtJ0lNgSwAaAz7+ORCz27DuhZpDRHEB\nS/TUf+ZUzgwFnFa+Er8NHvgq1Xtm99nZAKqQLIFsBMOcfTw77+1NRC5kbttG\nbi1pobkdNQqIZO4bjtd8aOWoHZGb2DGc32bdBEGokG6B4xdrIx7PJtEpcmsk\nGvOPDh8xczfsZm6bt5oXCyJiOcblUduLEp2UBbIwVmNUo4tjU6NIYYClUhIS\n0Ci7\r\n=aH6P\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","types":"index.d.ts","gitHead":"ef83aabe7a7acb256c181e4c79af1ddf5fefd404","scripts":{"test":"eslint ./index.js && istanbul cover _mocha","semantic-release":"semantic-release"},"_npmUser":{"name":"jwalton","email":"npm@lucid.thedreaming.org"},"repository":{"url":"git+https://github.com/jwalton/node-promise-breaker.git","type":"git"},"_npmVersion":"6.4.1","description":"Library to help write libraries that accept both promises and callbacks.","directories":{"test":"test"},"_nodeVersion":"10.14.1","dependencies":{},"_hasShrinkwrap":false,"devDependencies":{"chai":"^4.2.0","husky":"^1.2.0","mocha":"^5.2.0","eslint":"^5.9.0","istanbul":"^0.4.5","coveralls":"^3.0.2","es6-promise":"^4.2.5","chai-as-promised":"^7.1.1","semantic-release":"^15.12.3","@semantic-release/git":"^7.0.5","@semantic-release/changelog":"^3.0.1","@jwalton/semantic-release-config":"^1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/promise-breaker_4.1.13_1543523420745_0.44108619107742686","host":"s3://npm-registry-packages"}},"5.0.0":{"name":"promise-breaker","version":"5.0.0","keywords":["promise","callback","library"],"author":{"url":"https://github.com/jwalton","name":"Jason Walton","email":"dev@lucid.thedreaming.org"},"license":"MIT","_id":"promise-breaker@5.0.0","maintainers":[{"name":"jwalton","email":"npm@lucid.thedreaming.org"}],"homepage":"https://github.com/jwalton/node-promise-breaker#readme","bugs":{"url":"https://github.com/jwalton/node-promise-breaker/issues"},"dist":{"shasum":"58e8541f1619554057da95a211794d7834d30c1d","tarball":"https://registry.npmjs.org/promise-breaker/-/promise-breaker-5.0.0.tgz","fileCount":9,"integrity":"sha512-mgsWQuG4kJ1dtO6e/QlNDLFtMkMzzecsC69aI5hlLEjGHFNpHrvGhFi4LiK5jg2SMQj74/diH+wZliL9LpGsyA==","signatures":[{"sig":"MEYCIQCCqCj9CFfoM28foIPMtAKapIDI6JytqeRx8POmVBElWwIhAK1y3tk2DMXzc9osdtVMWVFHBPG2qpku1VaT2xw2ywPs","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":45827,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdEj4fCRA9TVsSAnZWagAAh/AP/2OoS5449VWzSArN2WId\nYKyxHwQSsdtZFmaHe7FPSt4yqjAva6mJEIwb0n/DXQQOQXwXh4El2Shru1FP\ntbC7XGVSn83Qav97eQn99uy4u6rhhN5jPglPSp+rT0JKrB0yezeoJRLK6bmt\nzg3GeU7d/fLyRqNLmb3ug42A0yXmqBHrgdTLKvCdldezA6MPy0/wsEZGlNA8\nF3oYRT04OAkIcFZydjWXyOFgJoPevIcnvgqd3H2JrMkqO9c6a4TSaN06yYTb\nq1x3UOi3OwtQ4ssoygWn7TX1ffwJiZvZraVU1uX6LwAVDvTHXboODM2yrAx/\nMj8kpR3ZlPLdgnKNN87RPD4+G2hh0OxFOHfG9NSSYekkNvJBut+xca4n4eGs\n55ILRBTRLbdQIiFzcUyv9nlzpY+ILw1xWpwErFvwo3063rhWMNh28JJfGAcD\ngi2TGGMrzSXOOMTcgjKuJV2qDRdo5p25x8DCXYogJZ4taKXOJ4QQtCqynd/2\n3AIIgbdSPkxOiyxZFTcKFX3Gw8NiLr1WCIeuai5LoRRrpMFHCNMKmxJGA5CA\n5ZIT+f4E9gjR2qeTFUGArRNQlk6slGjxrDDpKUHlzuAq1dh9JRKCCV7CQA8R\nErNFXDyeBDfO31OvnKaX/ZzikrS0TvyHUTZ/nkGWHPMCLzwsIXvfCkpoISmq\n7DBX\r\n=q+c3\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","types":"index.d.ts","gitHead":"5059c49cf7acdbb367d52b2a57d9e36eba1c7775","scripts":{"test":"eslint ./index.js && istanbul cover _mocha","semantic-release":"semantic-release"},"_npmUser":{"name":"jwalton","email":"npm@lucid.thedreaming.org"},"repository":{"url":"git+https://github.com/jwalton/node-promise-breaker.git","type":"git"},"_npmVersion":"6.9.0","description":"Library to help write libraries that accept both promises and callbacks.","directories":{"test":"test"},"_nodeVersion":"10.16.0","dependencies":{},"_hasShrinkwrap":false,"devDependencies":{"chai":"^4.2.0","husky":"^2.0.0","mocha":"^6.1.4","eslint":"^6.0.1","istanbul":"^0.4.5","coveralls":"^3.0.2","es6-promise":"^4.2.5","chai-as-promised":"^7.1.1","semantic-release":"^15.13.15","@semantic-release/git":"^7.0.5","@semantic-release/changelog":"^3.0.1","@jwalton/semantic-release-config":"^1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/promise-breaker_5.0.0_1561476638333_0.301444200048943","host":"s3://npm-registry-packages"}},"6.0.0":{"name":"promise-breaker","version":"6.0.0","keywords":["promise","callback","library"],"author":{"url":"https://github.com/jwalton","name":"Jason Walton","email":"dev@lucid.thedreaming.org"},"license":"MIT","_id":"promise-breaker@6.0.0","maintainers":[{"name":"jwalton","email":"npm@lucid.thedreaming.org"}],"homepage":"https://github.com/jwalton/node-promise-breaker#readme","bugs":{"url":"https://github.com/jwalton/node-promise-breaker/issues"},"dist":{"shasum":"107d2b70f161236abdb4ac5a736c7eb8df489d0f","tarball":"https://registry.npmjs.org/promise-breaker/-/promise-breaker-6.0.0.tgz","fileCount":12,"integrity":"sha512-BthzO9yTPswGf7etOBiHCVuugs2N01/Q/94dIPls48z2zCmrnDptUUZzfIb+41xq0MnYZ/BzmOd6ikDR4ibNZA==","signatures":[{"sig":"MEUCIQDuIdQ6SyPaUCvB9qHwjKSh1HOcL7PWzbQZMtiJyjdHfQIgCacE7Jxp8rxz9Cu3EtA8wulMkG9IjZUExz+ujoZ+J90=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":46022,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi9WK+ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmocyQ//U8F5sYvNcGTdbPREr3RYFJI4fuzIJDa47xBWhKnwfkQAMkiF\r\n331Zmh/N55t6cvcDNbdA8eCN2u7UhP9yaT9atFkJTomWmKH3LzKPznbcXHtC\r\nTaCKn1bBYK/sv0SNpF7tzuaNXQp4QgsE7Nook4Ppv15z7Nin/qiBPcbvwIbs\r\nRaO4EpJRx6lPW6csqZou6c6oAsM/p6gfhzlVpluTw/68zTTH1qqCMzhyLzE1\r\nzO4h7UGVvDxg6ZulLq4Jf4V26xmj4SNzpMI/5dwdlgyLz+KFLFnlEA9QJJrE\r\nOUHeR8mq4uwv7vl5QqJTM38o31bu0z8dfZZSqDGLglROL6oLek0E/48foeWq\r\nEIS/2OFxJyI3y8NKJk54YNNMIlXqO7m6i/UqHOdBVkWOzdhw6uBcmnSw6Hgn\r\nzf9kHCxKpRWYUri48NezRgN/mRu68w8hGBGq9V0GSUTwqJ7Ly9nSNmxlQO6o\r\nM2WJSdxsV8qKe9v75zEU0Ufin2KRSXW9mRBkJRCxHfJBkaIs/LCzYtU1XfE/\r\nn6PIBr2zZrJ0ng0b2Eue/cSgd3Kpx6cVjivIone+YfYLh9rNXbHQOd28ZLNb\r\nDZC3gNYytd2vcz4AVIK2n7NtLI6ne1eh26h4w0fs9MJMttGZ6WEtRV618Vo/\r\n4fA6nFkN5SDj0XciJxmq9DNrgt3nV9HIVUk=\r\n=O/Dw\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","types":"index.d.ts","gitHead":"d37a4174aef27ff68c1e824d46152cc2a652073b","scripts":{"test":"eslint ./index.js && istanbul cover _mocha","prepare":"husky install","semantic-release":"semantic-release"},"_npmUser":{"name":"jwalton","email":"npm@lucid.thedreaming.org"},"repository":{"url":"git+https://github.com/jwalton/node-promise-breaker.git","type":"git"},"_npmVersion":"8.17.0","description":"Library to help write libraries that accept both promises and callbacks.","directories":{"test":"test"},"lint-staged":{"src/**/*.js":["eslint"],"test/**/*.js":["tslint"]},"_nodeVersion":"14.20.0","_hasShrinkwrap":false,"devDependencies":{"chai":"^4.2.0","husky":"^8.0.1","mocha":"^10.0.0","eslint":"^8.21.0","istanbul":"^0.4.5","prettier":"^2.3.1","coveralls":"^3.0.2","es6-promise":"^4.2.5","lint-staged":"^13.0.3","pretty-quick":"^3.1.1","chai-as-promised":"^7.1.1","semantic-release":"^19.0.3","@semantic-release/git":"^10.0.1","@semantic-release/changelog":"^6.0.1","@jwalton/semantic-release-config":"^1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/promise-breaker_6.0.0_1660248765928_0.027632831752210096","host":"s3://npm-registry-packages"}},"7.0.0":{"name":"promise-breaker","description":"Library to help write libraries that accept both promises and callbacks.","keywords":["promise","util"],"version":"7.0.0","author":{"name":"Jason Walton","email":"dev@lucid.thedreaming.org","url":"https://thedreaming.org"},"license":"MIT","sideEffects":false,"main":"./dist/index.js","type":"module","repository":{"type":"git","url":"git+https://github.com/jwalton/js-promise-breaker.git"},"bugs":{"url":"https://github.com/jwalton/js-promise-breaker/issues"},"homepage":"https://github.com/jwalton/js-promise-breaker#readme","scripts":{"start":"npm run build && node dist/index.js","test":"npm run build && npm run lint && npm run test:unittest","build":"tsc","docs":"npm run build && jsdoc2md --template README_TEMPLATE.hbs --global-index-format none -d 3 dist/index.js > README.md","clean":"rm -rf dist types coverage","test:unittest":"c8 mocha src","lint":"npm run lint:source && npm run lint:types","lint:source":"eslint src","lint:types":"tsc --noEmit && tsc -p tsconfig.test.json --noEmit","prepare":"husky || true","prepublishOnly":"npm run build && npm test","semantic-release":"semantic-release"},"lint-staged":{"**/*.@(ts|tsx)":["prettier --write","eslint"],"**/*.@(js|cjs|mjs|jsx)":["prettier --write"]},"devDependencies":{"@eslint/js":"^10.0.1","@types/chai":"^5.2.3","@types/chai-as-promised":"^8.0.2","@types/mocha":"^10.0.10","@types/node":"^25.9.1","@types/sinon":"^21.0.1","c8":"^11.0.0","chai":"^6.2.2","chai-as-promised":"^8.0.2","eslint":"^10.4.1","husky":"^9.1.7","jsdoc-to-markdown":"^9.1.3","lint-staged":"^17.0.5","mocha":"^11.7.6","prettier":"^3.8.3","sinon":"^22.0.0","ts-node":"^10.9.2","tsd":"^0.33.0","typescript":"^6.0.3","typescript-eslint":"^8.60.0"},"gitHead":"889b20b6f6bf5fb62ca4c95d154c38b435b4616b","types":"./dist/index.d.ts","_id":"promise-breaker@7.0.0","_nodeVersion":"24.15.0","_npmVersion":"11.11.1","dist":{"integrity":"sha512-bjYI+g+J8NZEugNDu1+Mp7emS2lyGbDnhJ/6hFqUwnyvfMnpQ+ZhTXQjibRcJg6n/D+YlHRv3mXrkA3Gz0URcg==","shasum":"e0e475a7a369ce42c7e895a25c6c3bc233bfad06","tarball":"https://registry.npmjs.org/promise-breaker/-/promise-breaker-7.0.0.tgz","fileCount":8,"unpackedSize":32675,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIHznxvbqdalkcwkmwynTxnIM7Hynxak7acbhraF+/H97AiEAjI6PV9gVYOjVkzDHQBBjOEn7E/osZ3avnTFY1UAekCA="}]},"_npmUser":{"name":"jwalton","email":"npm@lucid.thedreaming.org"},"directories":{},"maintainers":[{"name":"jwalton","email":"npm@lucid.thedreaming.org"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/promise-breaker_7.0.0_1780940549946_0.387073007471356"},"_hasShrinkwrap":false}},"time":{"created":"2015-06-12T22:20:14.514Z","modified":"2026-06-08T17:42:30.195Z","1.0.0":"2015-06-12T22:20:14.514Z","2.0.0":"2015-06-15T15:24:37.918Z","2.0.1":"2015-06-29T19:42:38.688Z","2.0.2":"2015-06-29T19:43:40.358Z","2.0.3":"2015-06-30T20:38:06.315Z","2.1.0":"2015-11-18T17:39:12.362Z","2.2.0":"2015-11-18T17:43:39.524Z","2.2.1":"2015-12-04T19:10:27.078Z","3.0.0":"2016-01-06T04:26:51.276Z","4.0.0":"2017-02-24T23:00:24.375Z","4.0.1":"2017-02-27T20:19:25.001Z","4.0.2":"2017-02-27T21:55:31.213Z","4.0.3":"2017-02-27T22:31:13.818Z","4.1.0":"2017-05-01T20:43:56.235Z","4.1.2":"2017-10-23T15:40:40.056Z","4.1.3":"2017-10-26T17:23:33.542Z","4.1.4":"2017-10-26T18:40:24.308Z","4.1.5":"2018-04-20T18:35:50.889Z","4.1.6":"2018-04-20T21:07:52.761Z","4.1.7":"2018-04-25T18:37:58.207Z","4.1.8":"2018-04-25T18:57:51.584Z","4.1.9":"2018-04-26T16:30:54.418Z","4.1.10":"2018-04-26T18:27:14.348Z","4.1.11":"2018-05-07T16:14:18.648Z","4.1.12":"2018-11-29T19:49:47.832Z","4.1.13":"2018-11-29T20:30:20.853Z","5.0.0":"2019-06-25T15:30:38.562Z","6.0.0":"2022-08-11T20:12:46.171Z","7.0.0":"2026-06-08T17:42:30.076Z"},"bugs":{"url":"https://github.com/jwalton/js-promise-breaker/issues"},"author":{"name":"Jason Walton","email":"dev@lucid.thedreaming.org","url":"https://thedreaming.org"},"license":"MIT","homepage":"https://github.com/jwalton/js-promise-breaker#readme","keywords":["promise","util"],"repository":{"type":"git","url":"git+https://github.com/jwalton/js-promise-breaker.git"},"description":"Library to help write libraries that accept both promises and callbacks.","maintainers":[{"name":"jwalton","email":"npm@lucid.thedreaming.org"}],"readme":"![Build Status](https://github.com/jwalton/node-promise-breaker/workflows/GitHub%20CI/badge.svg)\n\n## What is it?\n\n`promise-breaker` is intended for library authors and makes it easy to write functions that will accept an optional callback, or return a Promise if a callback is not provided. You can use callbacks or Promises in your implementation, and callers can call with either a callback or expect a Promise. It's a library that makes it easy to write libraries for others.\n\n`promise-breaker` is also often handy when refactoring a legacy codebase that uses callbacks into something promise based. You can rewrite a callback based function into a promise based function, and then `callbackify` it, which means existing callers can still call into it, and you don't have to refactor the whole codebase in one go.\n\n## Installation\n\n```sh\nnpm install --save promise-breaker\n```\n\n## Summary\n\nIf you're a library author, it's nice to be able to provide your clients with a library that will take an optional callback, and if the callback isn't provided, return a Promise. If you've ever tried to do this, you know that there's a lot of finicky boilerplate involved in every function you write.\n\n'promise-breaker' makes this really easy. If you prefer writing in callback style:\n\n```js\nexport const myFunc = pb.promisify((done = null) => {\n  doThing((err, thing) => {\n    if (err) {\n      return done(err);\n    }\n    doOtherThing(thing, (err, otherThing) => {\n      if (err) {\n        return done(err);\n      }\n      done(null, otherThing);\n    });\n  });\n});\n```\n\nor if you prefer Promise style:\n\n```js\nexport const myFunc = pb.callbackify(() => {\n  doThing().then((result) => doOtherThing(result));\n});\n```\n\nThe other thing you often want to do when writing a library is call into a function without knowing whether\nit returns a promise or expects a callback. Again, promise-breaker makes this easy:\n\n```js\nexport async function doStuff(fn) {\n  // This works just like `fn.call` except it will add a `done` callback to the\n  // parameters passed to `fn`, and then automatically work out whether `fn`\n  // returns a promise or calls the callback.\n  await pb.call(fn, null, 'hello world');\n}\n```\n\n## API\n\n<a name=\"promisify\"></a>\n\n### promisify(fn)\nGiven a function that expects a callback, return a new function that accepts a\ncallback or returns a promise depending on how it is called.\n\nThis is similar to node.js's `util.promisify` but this will generate a function\nthat can be called with or without a callback, and will return a Promise either way.\nUnlike the node version of `promisify`, this version will automatically\ncorrectly handle the case where the function is being defined on an class.\nAlso, this version is typescript compatible with any function, where the the\n`@types/node` definition only works with function with up to five parameters.\n\n`promisify` works by always adding a callback onto the list of arguments\npassed down to your function.  If the caller doesn't pass a callback, this\nadded callback will be passed to your function, and will be used to resolve\nor reject the returned `Promise`.  If the caller provides a callback, then\nyour function will get (and ignore) the extra callback that `promisify` adds\nat the end.\n\nTechnically the function will always return a Promise, regardless of whether or\nnot a callback is passed in, but if a callback is passed in the return Promise\nwill never resolve (instead we call into the callback).\n\n**Kind**: global function  \n\n| Param | Description |\n| --- | --- |\n| fn | The function to promisify. |\n\n<a name=\"callbackify\"></a>\n\n### callbackify([opts], fn)\n`callbackify` is the opposite of `promisify`; it takes a function that returns\na promise, and makes it so it can be called with either a promise or a callback.\n\nCallbackify works by calling the underlying function and then returning the\npromise directly, or calling into the provided callback.\n\nIn order for this to work, `callbackify` needs to detect if a callback was\nincluded in the parameter list and remove it for the promise case. By default,\n`callbackify` will always assume that if the last parameter passed in is a\nfunction, then that function is a callback function. In most cases then you can do:\n\n```js\nconst newFunc = callbackify(async function (foo, bar) => ...);\n```\n\nBut, sometimes you might want to `callbackify` a function that takes a\nnon-callback function as it's final parameter.  In this case, you need to\nspecify the number of arguments the function you're trying to `callbackify`\nexpects:\n\n```js\nconst newFunc = callbackify({ args: 2 }, async function(fn1, fn2) => ...);\n```\n\n**Kind**: global function  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| [opts] | <code>args</code> | An `` object specifying how many arguments your function   expects. |\n| fn |  | The async function to call. |\n\n<a name=\"apply\"></a>\n\n### apply(fn, thisArg, args, [cb]) ⇒\n`apply` is analagous to `Function.prototype.apply`, but you can use it to\ncall a function when you don't know in advance whether the function expects\na callback or will return a Promise. This is useful when writing a library\nand you want to call into functions provided by your end user.\n\n**Kind**: global function  \n**Returns**: - If the underlying `fn` returns a Promise, this will return that\n  Promise.  Otherwise returns a Promise which will resolve or reject when the\n  callback is called.  \n\n| Param | Description |\n| --- | --- |\n| fn | The function to call. |\n| thisArg | The `this` parameter to provide to the function. |\n| args | The parameters to pass to the function.  A callback function   will automatically be added to this list of parameters. |\n| [cb] | The callback function to call. |\n\n<a name=\"call\"></a>\n\n### call(fn, thisArg, args) ⇒\n`call` is analagous to `Function.prototype.call`.  See `apply` for details.\n\n**Kind**: global function  \n**Returns**: - If the underlying `fn` returns a Promise, this will return that\n  Promise.  Otherwise returns a Promise which will resolve or reject when the\n  callback is called.  \n\n| Param | Description |\n| --- | --- |\n| fn | The function to call. |\n| thisArg | The `this` parameter to provide to the function. |\n| args | The parameters to pass to the function.  A callback function   will automatically be added to this list of parameters. |\n\n<a name=\"addPromise\"></a>\n\n### addPromise(done, fn) ⇒\nAdd a promise to a function that returns a callback.\n\n**Kind**: global function  \n**Returns**: If a callback is provided, returns undefined. Otherwise returns a Promise.  \n\n| Param | Description |\n| --- | --- |\n| done | The callback provided by your function's caller, or undefined if   no callback was provided. |\n| fn | A callback function to call as the implementation for your function. |\n\n**Example**  \n```js\nexport function addNumbers(a: number, b: number): Promise<number>;\n    export function addNumbers(a: number, b: number, done: Callback<number>): void;\n    export function addNumbers(\n        a: number,\n        b: number,\n        done?: Callback<number>\n    ): Promise<number> | undefined {\n        return addPromise(done, (done) => done(null, a + b));\n    }\n\n    addNumbers(1, 2, (err, result) => console.log(result));\n    addNumbers(1, 2).then((result) => console.log(result));\n```\n<a name=\"addCallback\"></a>\n\n### addCallback(done, fn) ⇒\nAdd a callback to a function that returns a promise.\n\n**Kind**: global function  \n**Returns**: If a callback is provided, returns undefined. Otherwise returns a Promise.  \n\n| Param | Description |\n| --- | --- |\n| done | The callback provided by your function's caller, or undefined if   no callback was provided. |\n| fn | An async function to call as the implementation for your function. |\n\n**Example**  \n```js\nexport function addNumbers(a: number, b: number): Promise<number>;\n    export function addNumbers(a: number, b: number, done: Callback<number>): void;\n    export function addNumbers(\n        a: number,\n        b: number,\n        done?: Callback<number>\n    ): Promise<number> | undefined {\n        return addCallback(done, async () => return a + b);\n    }\n\n    addNumbers(1, 2, (err, result) => console.log(result));\n    addNumbers(1, 2).then((result) => console.log(result));\n```\n","readmeFilename":"README.md"}