UNPKG

cb2promise

Version:

Converts whatever standard NodeJS callback function into ES6 standard promise.

64 lines (63 loc) 1.52 kB
{ "name": "cb2promise", "description": "Converts whatever standard NodeJS callback function into ES6 standard promise.", "homepage": "https://github.com/Kikobeats/cb2promise", "version": "1.1.1", "main": "index.js", "author": { "email": "josefrancisco.verdu@gmail.com", "name": "Kiko Beats", "url": "https://github.com/Kikobeats" }, "repository": { "type": "git", "url": "git+https://github.com/kikobeats/cb2promise.git" }, "bugs": { "url": "https://github.com/Kikobeats/cb2promise/issues" }, "keywords": [ "ES6", "callback", "cb", "converter", "promise", "standard" ], "dependencies": { "mimic-fn": "~2.0.0", "sliced": "~1.0.1" }, "devDependencies": { "bluebird": "latest", "coveralls": "latest", "es6-promisify": "latest", "mocha": "latest", "nanobench": "latest", "nyc": "latest", "pify": "latest", "should": "latest", "standard": "latest", "standard-markdown": "latest" }, "engines": { "node": ">= 4" }, "files": [ "index.js" ], "scripts": { "coveralls": "nyc report --reporter=text-lcov | coveralls", "lint": "standard-markdown && standard index.js benchmark.js test", "optimization-test": "node --trace_opt --trace_deopt --allow-natives-syntax optimization-test.js", "pretest": "npm run lint", "test": "nyc mocha && npm run optimization-test" }, "license": "MIT", "standard": { "globals": [ "describe", "it" ] } }