UNPKG

httperrors

Version:

Handy JavaScript Error classes representing the standard HTTP errors. Easily extensible and subclassable.

46 lines (45 loc) 1.11 kB
{ "author": "Andreas Lind Petersen <andreas@one.com>", "name": "httperrors", "description": "Handy JavaScript Error classes representing the standard HTTP errors. Easily extensible and subclassable.", "keywords": [ "http", "errors", "error", "request", "proxy", "client", "class", "errorclass" ], "version": "2.3.0", "repository": { "type": "git", "url": "git://github.com/One-com/node-httperrors.git" }, "main": "lib/HttpError.js", "engines": { "node": ">= 0.2.0" }, "dependencies": { "createerror": "1.3.0" }, "devDependencies": { "browserify": "13.0.0", "mocha": "2.4.5", "uglify-js": "2.6.1", "unexpected": "10.8.2" }, "scripts": { "dist": "mkdir -p dist && browserify ./lib/HttpError.js -s HttpError | ./node_modules/.bin/uglifyjs -mc > ./dist/httpErrors.js && cp dist/httpErrors.js dist/HttpError.js", "prepublish": "npm run test && npm run dist", "test": "mocha --recursive" }, "files": [ "lib", "dist" ], "publishConfig": { "repository": "http://registry.npmjs.org/" } }