UNPKG

http-as-promised

Version:
57 lines (56 loc) 1.55 kB
{ "name": "http-as-promised", "description": "Promisified HTTP client", "readmeFilename": "README.md", "main": "http.promise.js", "keywords": [ "errors", "exceptions", "throw", "custom", "util", "utility", "bluebird", "promise", "request", "http", "https", "statusCode" ], "version": "2.0.1", "author": "James Cready <jcready@gmail.com> (http://stackoverflow.com/users/1397319/idbehold)", "homepage": "https://github.com/jcready/http-as-promised", "repository": { "type": "git", "url": "https://github.com/jcready/http-as-promised.git" }, "bugs": { "url": "http://github.com/jcready/http-as-promised/issues" }, "license": "MIT", "engines": { "node": ">=4" }, "scripts": { "test": "mocha test && eslint ./", "test-cov": "istanbul cover ./node_modules/mocha/bin/_mocha --report lcovonly -- -R spec && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./coverage", "coverage": "istanbul cover ./node_modules/mocha/bin/_mocha -- -u exports -R spec && open coverage/lcov-report/http-as-promised/index.html" }, "dependencies": { "bluebird": "^3.5.1", "create-error": "^0.3.1", "request": "^2.83.0" }, "devDependencies": { "chai": "^4.1.2", "chai-as-promised": "^7.1.1", "coveralls": "^3.0.0", "eslint": "^4.15.0", "istanbul": "^0.4.5", "mocha": "^4.1.0", "mocha-lcov-reporter": "1.3.0", "nock": "^9.1.6", "sinon": "^4.1.4", "sinon-chai": "^2.14.0" } }