UNPKG

assert-err

Version:

assertion library that throws user-specified error types (accepts error class and message)

40 lines (39 loc) 995 B
{ "name": "assert-err", "version": "1.1.0", "description": "assertion library that throws user-specified error types (accepts error class and message)", "main": "index.js", "scripts": { "test": "istanbul cover _mocha ./test && istanbul --text check-coverage --statements 100 --functions 100 --branches 100 --lines 100", "test-watch": "nodemon -x mocha ./test" }, "repository": { "type": "git", "url": "https://github.com/tjmehta/assert-err.git" }, "keywords": [ "assert", "error", "type", "class", "custom", "user", "constructor" ], "author": "Tejesh Mehta", "license": "MIT", "bugs": { "url": "https://github.com/tjmehta/assert-err/issues" }, "homepage": "https://github.com/tjmehta/assert-err", "devDependencies": { "chai": "^3.5.0", "istanbul": "^0.4.4", "mocha": "^2.5.3", "times-loop": "^1.0.0" }, "dependencies": { "escape-string-regexp": "^1.0.5", "object-assign": "^4.1.0" } }