{"_id":"http-assert","_rev":"628693","name":"http-assert","description":"assert with status codes","dist-tags":{"latest":"1.5.0"},"maintainers":[{"name":"dougwilson","email":""},{"name":"eivifj","email":""},{"name":"jongleberry","email":"jonathanrichardong@gmail.com"},{"name":"ulisesgascon","email":""}],"time":{"modified":"2021-08-25T06:05:48.000Z","created":"2013-12-24T01:19:07.875Z","1.5.0":"2021-08-25T06:03:59.459Z","1.4.1":"2019-04-28T18:49:13.507Z","1.4.0":"2018-09-09T14:36:32.497Z","1.3.0":"2017-05-08T05:13:07.530Z","1.2.0":"2016-02-27T21:53:30.135Z","1.1.1":"2015-02-15T00:30:01.343Z","1.1.0":"2014-12-10T17:52:06.109Z","1.0.2":"2014-09-10T05:40:25.631Z","1.0.1":"2014-01-21T01:54:17.159Z","1.0.0":"2014-01-21T01:42:13.860Z","0.1.1":"2014-01-14T01:25:28.772Z","0.1.0":"2014-01-05T21:46:34.987Z","0.0.1":"2013-12-24T01:19:07.875Z"},"users":{"goodseller":true,"tedyhy":true},"repository":{"type":"git","url":"git+https://github.com/jshttp/http-assert.git"},"versions":{"1.5.0":{"name":"http-assert","description":"assert with status codes","version":"1.5.0","license":"MIT","keywords":["assert","http"],"repository":{"type":"git","url":"git+https://github.com/jshttp/http-assert.git"},"dependencies":{"deep-equal":"~1.0.1","http-errors":"~1.8.0"},"devDependencies":{"eslint":"7.32.0","eslint-config-standard":"14.1.1","eslint-plugin-import":"2.24.2","eslint-plugin-markdown":"2.2.0","eslint-plugin-node":"11.1.0","eslint-plugin-promise":"4.3.1","eslint-plugin-standard":"4.1.0","istanbul":"0.4.5","mocha":"9.1.0"},"engines":{"node":">= 0.8"},"scripts":{"lint":"eslint .","test":"mocha --reporter spec --bail --check-leaks test/","test-ci":"istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter spec --check-leaks test/","test-cov":"istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot --check-leaks test/"},"gitHead":"976df0b5017be9ee53d8d17ff0d2c03aa8b689e4","bugs":{"url":"https://github.com/jshttp/http-assert/issues"},"homepage":"https://github.com/jshttp/http-assert#readme","_id":"http-assert@1.5.0","_nodeVersion":"16.1.0","_npmVersion":"7.11.2","dist":{"shasum":"c389ccd87ac16ed2dfa6246fd73b926aa00e6b8f","size":3138,"noattachment":false,"key":"/http-assert/-/http-assert-1.5.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/http-assert/download/http-assert-1.5.0.tgz"},"_npmUser":{"name":"dougwilson","email":"doug@somethingdoug.com"},"directories":{},"maintainers":[{"name":"dougwilson","email":""},{"name":"eivifj","email":""},{"name":"jongleberry","email":"jonathanrichardong@gmail.com"},{"name":"ulisesgascon","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/http-assert_1.5.0_1629871439311_0.9302951487834683"},"_hasShrinkwrap":false,"publish_time":1629871439459,"_cnpm_publish_time":1629871439459},"1.4.1":{"name":"http-assert","description":"assert with status codes","version":"1.4.1","license":"MIT","keywords":["assert","http"],"repository":{"type":"git","url":"git+https://github.com/jshttp/http-assert.git"},"dependencies":{"deep-equal":"~1.0.1","http-errors":"~1.7.2"},"devDependencies":{"eslint":"5.16.0","eslint-config-standard":"12.0.0","eslint-plugin-import":"2.17.2","eslint-plugin-markdown":"1.0.0","eslint-plugin-node":"8.0.1","eslint-plugin-promise":"4.1.1","eslint-plugin-standard":"4.0.0","istanbul":"0.4.5","mocha":"6.1.4"},"engines":{"node":">= 0.8"},"scripts":{"lint":"eslint --plugin markdown --ext js,md .","test":"mocha --reporter spec --bail --check-leaks test/","test-cov":"istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot --check-leaks test/","test-travis":"istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter spec --check-leaks test/"},"gitHead":"ee96733e1158ec8cca1e3f28357b302c294f43ca","bugs":{"url":"https://github.com/jshttp/http-assert/issues"},"homepage":"https://github.com/jshttp/http-assert#readme","_id":"http-assert@1.4.1","_npmVersion":"6.4.1","_nodeVersion":"8.16.0","_npmUser":{"name":"dougwilson","email":"doug@somethingdoug.com"},"dist":{"shasum":"c5f725d677aa7e873ef736199b89686cceb37878","size":3077,"noattachment":false,"key":"/http-assert/-/http-assert-1.4.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/http-assert/download/http-assert-1.4.1.tgz"},"maintainers":[{"name":"dougwilson","email":""},{"name":"eivifj","email":""},{"name":"jongleberry","email":"jonathanrichardong@gmail.com"},{"name":"ulisesgascon","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/http-assert_1.4.1_1556477353364_0.6296446099238449"},"_hasShrinkwrap":false,"publish_time":1556477353507,"_cnpm_publish_time":1556477353507},"1.4.0":{"name":"http-assert","description":"assert with status codes","version":"1.4.0","license":"MIT","keywords":["assert","http"],"repository":{"type":"git","url":"git+https://github.com/jshttp/http-assert.git"},"dependencies":{"deep-equal":"~1.0.1","http-errors":"~1.7.1"},"devDependencies":{"eslint":"5.5.0","eslint-config-standard":"12.0.0","eslint-plugin-import":"2.14.0","eslint-plugin-markdown":"1.0.0-beta.6","eslint-plugin-node":"7.0.1","eslint-plugin-promise":"4.0.0","eslint-plugin-standard":"4.0.0","istanbul":"0.4.5","mocha":"2.5.3"},"engines":{"node":">= 0.8"},"scripts":{"lint":"eslint --plugin markdown --ext js,md .","test":"mocha --reporter spec --bail --check-leaks test/","test-cov":"istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot --check-leaks test/","test-travis":"istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter spec --check-leaks test/"},"gitHead":"8979a3be164615b521aa0f37e04b25d7321487df","bugs":{"url":"https://github.com/jshttp/http-assert/issues"},"homepage":"https://github.com/jshttp/http-assert#readme","_id":"http-assert@1.4.0","_npmVersion":"5.6.0","_nodeVersion":"8.11.4","_npmUser":{"name":"dougwilson","email":"doug@somethingdoug.com"},"dist":{"shasum":"0e550b4fca6adf121bbeed83248c17e62f593a9a","size":3085,"noattachment":false,"key":"/http-assert/-/http-assert-1.4.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/http-assert/download/http-assert-1.4.0.tgz"},"maintainers":[{"name":"dougwilson","email":""},{"name":"eivifj","email":""},{"name":"jongleberry","email":"jonathanrichardong@gmail.com"},{"name":"ulisesgascon","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/http-assert_1.4.0_1536503792334_0.05773787734591873"},"_hasShrinkwrap":false,"publish_time":1536503792497,"_cnpm_publish_time":1536503792497},"1.3.0":{"name":"http-assert","description":"assert with status codes","version":"1.3.0","license":"MIT","keywords":["assert","http"],"repository":{"type":"git","url":"git+https://github.com/jshttp/http-assert.git"},"dependencies":{"deep-equal":"~1.0.1","http-errors":"~1.6.1"},"devDependencies":{"istanbul":"0.4.5","mocha":"2.5.3"},"files":["LICENSE","index.js"],"engines":{"node":">= 0.8"},"scripts":{"test":"mocha --reporter spec --bail --check-leaks test/","test-cov":"istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot --check-leaks test/","test-travis":"istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter spec --check-leaks test/"},"gitHead":"7b0514b847bea05715f2b59784c85681b54295e5","bugs":{"url":"https://github.com/jshttp/http-assert/issues"},"homepage":"https://github.com/jshttp/http-assert#readme","_id":"http-assert@1.3.0","_shasum":"a31a5cf88c873ecbb5796907d4d6f132e8c01e4a","_from":".","_npmVersion":"2.15.11","_nodeVersion":"4.7.3","_npmUser":{"name":"dougwilson","email":"doug@somethingdoug.com"},"dist":{"shasum":"a31a5cf88c873ecbb5796907d4d6f132e8c01e4a","size":2299,"noattachment":false,"key":"/http-assert/-/http-assert-1.3.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/http-assert/download/http-assert-1.3.0.tgz"},"maintainers":[{"name":"dougwilson","email":""},{"name":"eivifj","email":""},{"name":"jongleberry","email":"jonathanrichardong@gmail.com"},{"name":"ulisesgascon","email":""}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/http-assert-1.3.0.tgz_1494220385564_0.8246503779664636"},"directories":{},"publish_time":1494220387530,"_hasShrinkwrap":false,"_cnpm_publish_time":1494220387530},"1.2.0":{"name":"http-assert","version":"1.2.0","description":"assert with status codes","devDependencies":{"istanbul":"~0.4.2","mocha":"2"},"repository":{"type":"git","url":"git+https://github.com/jshttp/http-assert.git"},"files":["LICENSE","index.js"],"scripts":{"test":"mocha --reporter spec --bail --check-leaks test/","test-cov":"istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot --check-leaks test/","test-travis":"istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter spec --check-leaks test/"},"keywords":["assert","http"],"dependencies":{"deep-equal":"~1.0.0","http-errors":"~1.4.0"},"license":"MIT","gitHead":"be8c2268af7a21c61f2a4051f6f6e2b80d95b747","bugs":{"url":"https://github.com/jshttp/http-assert/issues"},"homepage":"https://github.com/jshttp/http-assert#readme","_id":"http-assert@1.2.0","_shasum":"d6392e6f6519def4e340266b35096db6d3feba00","_from":".","_npmVersion":"3.6.0","_nodeVersion":"5.7.0","_npmUser":{"name":"jongleberry","email":"jonathanrichardong@gmail.com"},"dist":{"shasum":"d6392e6f6519def4e340266b35096db6d3feba00","size":1920,"noattachment":false,"key":"/http-assert/-/http-assert-1.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/http-assert/download/http-assert-1.2.0.tgz"},"maintainers":[{"name":"dougwilson","email":""},{"name":"eivifj","email":""},{"name":"jongleberry","email":"jonathanrichardong@gmail.com"},{"name":"ulisesgascon","email":""}],"_npmOperationalInternal":{"host":"packages-5-east.internal.npmjs.com","tmp":"tmp/http-assert-1.2.0.tgz_1456610007473_0.975123000331223"},"directories":{},"publish_time":1456610010135,"_cnpm_publish_time":1456610010135,"_hasShrinkwrap":false},"1.1.1":{"name":"http-assert","version":"1.1.1","description":"assert with status codes","devDependencies":{"istanbul":"~0.3.0","mocha":"2"},"repository":{"type":"git","url":"https://github.com/jshttp/http-assert"},"files":["LICENSE","index.js"],"scripts":{"test":"mocha --reporter spec --bail --check-leaks test/","test-cov":"istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot --check-leaks test/","test-travis":"istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter spec --check-leaks test/"},"keywords":["assert","http"],"dependencies":{"deep-equal":"~1.0.0","http-errors":"~1.3.1"},"license":"MIT","gitHead":"cdab4cd462364eed2b06fa0777fc55b8e5200264","bugs":{"url":"https://github.com/jshttp/http-assert/issues"},"homepage":"https://github.com/jshttp/http-assert","_id":"http-assert@1.1.1","_shasum":"6b08a0798262a507dc886b73be64af040c67c099","_from":".","_npmVersion":"2.5.1","_nodeVersion":"1.2.0","_npmUser":{"name":"jongleberry","email":"jonathanrichardong@gmail.com"},"maintainers":[{"name":"dougwilson","email":""},{"name":"eivifj","email":""},{"name":"jongleberry","email":"jonathanrichardong@gmail.com"},{"name":"ulisesgascon","email":""}],"dist":{"shasum":"6b08a0798262a507dc886b73be64af040c67c099","size":1889,"noattachment":false,"key":"/http-assert/-/http-assert-1.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/http-assert/download/http-assert-1.1.1.tgz"},"directories":{},"publish_time":1423960201343,"_cnpm_publish_time":1423960201343,"_hasShrinkwrap":false},"1.1.0":{"name":"http-assert","version":"1.1.0","description":"assert with status codes","devDependencies":{"istanbul":"~0.3.0","mocha":"2"},"repository":{"type":"git","url":"https://github.com/jshttp/http-assert"},"files":["LICENSE","index.js"],"scripts":{"test":"mocha --reporter spec --bail --check-leaks test/","test-cov":"istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot --check-leaks test/","test-travis":"istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter spec --check-leaks test/"},"keywords":["assert","http"],"dependencies":{"deep-equal":"~0.2.1","http-errors":"~1.2.0"},"license":"MIT","gitHead":"ad5884da96e667105f0153928b1bb7d876e6dfe0","bugs":{"url":"https://github.com/jshttp/http-assert/issues"},"homepage":"https://github.com/jshttp/http-assert","_id":"http-assert@1.1.0","_shasum":"b78219e3a81748a1d42041bff16e8dfef9d7fc67","_from":".","_npmVersion":"2.1.11","_nodeVersion":"0.11.14","_npmUser":{"name":"jongleberry","email":"jonathanrichardong@gmail.com"},"maintainers":[{"name":"dougwilson","email":""},{"name":"eivifj","email":""},{"name":"jongleberry","email":"jonathanrichardong@gmail.com"},{"name":"ulisesgascon","email":""}],"dist":{"shasum":"b78219e3a81748a1d42041bff16e8dfef9d7fc67","size":1901,"noattachment":false,"key":"/http-assert/-/http-assert-1.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/http-assert/download/http-assert-1.1.0.tgz"},"directories":{},"publish_time":1418233926109,"_cnpm_publish_time":1418233926109,"_hasShrinkwrap":false},"1.0.2":{"name":"http-assert","version":"1.0.2","description":"assert with status codes","devDependencies":{"istanbul":"~0.3.0","mocha":"~1.17"},"repository":{"type":"git","url":"git://github.com/jshttp/http-assert"},"files":["LICENSE","index.js"],"scripts":{"test":"mocha --reporter spec --bail --check-leaks test/","test-cov":"istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot --check-leaks test/","test-travis":"istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter spec --check-leaks test/"},"keywords":["assert","http"],"dependencies":{"http-errors":"~1.2.0"},"bugs":{"url":"https://github.com/jshttp/http-assert/issues"},"homepage":"https://github.com/jshttp/http-assert","_id":"http-assert@1.0.2","_shasum":"a8e1328daee559bdffede8a8f787b36043bc1421","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"eivifj","email":"eivind.fjeldstad@gmail.com"},"maintainers":[{"name":"dougwilson","email":""},{"name":"eivifj","email":""},{"name":"jongleberry","email":"jonathanrichardong@gmail.com"},{"name":"ulisesgascon","email":""}],"dist":{"shasum":"a8e1328daee559bdffede8a8f787b36043bc1421","size":1674,"noattachment":false,"key":"/http-assert/-/http-assert-1.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/http-assert/download/http-assert-1.0.2.tgz"},"directories":{},"publish_time":1410327625631,"_cnpm_publish_time":1410327625631,"_hasShrinkwrap":false},"1.0.1":{"name":"http-assert","version":"1.0.1","description":"assert with status codes","devDependencies":{"mocha":"~1.17.0"},"repository":{"type":"git","url":"https://github.com/eivindfjeldstad/http-assert.git"},"license":"MIT","bugs":{"url":"https://github.com/eivindfjeldstad/http-assert/issues"},"homepage":"https://github.com/eivindfjeldstad/http-assert","_id":"http-assert@1.0.1","dist":{"shasum":"8213171b6cbf7249f11651319956856e2e3d8171","size":1181,"noattachment":false,"key":"/http-assert/-/http-assert-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/http-assert/download/http-assert-1.0.1.tgz"},"_from":".","_npmVersion":"1.3.22","_npmUser":{"name":"eivifj","email":"eivind.fjeldstad@gmail.com"},"maintainers":[{"name":"dougwilson","email":""},{"name":"eivifj","email":""},{"name":"jongleberry","email":"jonathanrichardong@gmail.com"},{"name":"ulisesgascon","email":""}],"directories":{},"publish_time":1390269257159,"_cnpm_publish_time":1390269257159,"_hasShrinkwrap":false},"1.0.0":{"name":"http-assert","version":"1.0.0","description":"assert with status codes","devDependencies":{"mocha":"~1.17.0"},"repository":{"type":"git","url":"https://github.com/eivindfjeldstad/http-assert.git"},"license":"MIT","bugs":{"url":"https://github.com/eivindfjeldstad/http-assert/issues"},"homepage":"https://github.com/eivindfjeldstad/http-assert","_id":"http-assert@1.0.0","dist":{"shasum":"978520c354c33fc92907bf91f5fb2a7a102f291b","size":1161,"noattachment":false,"key":"/http-assert/-/http-assert-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/http-assert/download/http-assert-1.0.0.tgz"},"_from":".","_npmVersion":"1.3.22","_npmUser":{"name":"eivifj","email":"eivind.fjeldstad@gmail.com"},"maintainers":[{"name":"dougwilson","email":""},{"name":"eivifj","email":""},{"name":"jongleberry","email":"jonathanrichardong@gmail.com"},{"name":"ulisesgascon","email":""}],"directories":{},"publish_time":1390268533860,"_cnpm_publish_time":1390268533860,"_hasShrinkwrap":false},"0.1.1":{"name":"http-assert","version":"0.1.1","description":"assert with status codes","devDependencies":{"mocha":"~1.17.0"},"repository":{"type":"git","url":"https://github.com/eivindfjeldstad/http-assert.git"},"license":"MIT","readmeFilename":"readme.md","bugs":{"url":"https://github.com/eivindfjeldstad/http-assert/issues"},"homepage":"https://github.com/eivindfjeldstad/http-assert","_id":"http-assert@0.1.1","dist":{"shasum":"5dcecfcb81b4ad7b7e59f0276cc156e898cc336c","size":1128,"noattachment":false,"key":"/http-assert/-/http-assert-0.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/http-assert/download/http-assert-0.1.1.tgz"},"_from":".","_npmVersion":"1.3.15","_npmUser":{"name":"eivifj","email":"eivind.fjeldstad@gmail.com"},"maintainers":[{"name":"dougwilson","email":""},{"name":"eivifj","email":""},{"name":"jongleberry","email":"jonathanrichardong@gmail.com"},{"name":"ulisesgascon","email":""}],"directories":{},"publish_time":1389662728772,"_cnpm_publish_time":1389662728772,"_hasShrinkwrap":false},"0.1.0":{"name":"http-assert","version":"0.1.0","description":"assert with status codes","scripts":{"test":"node test"},"repository":{"type":"git","url":"https://github.com/eivindfjeldstad/http-assert.git"},"license":"MIT","readmeFilename":"readme.md","bugs":{"url":"https://github.com/eivindfjeldstad/http-assert/issues"},"homepage":"https://github.com/eivindfjeldstad/http-assert","_id":"http-assert@0.1.0","dist":{"shasum":"564ebea60402de58b1b9cbba7881ea44128aba2c","size":889,"noattachment":false,"key":"/http-assert/-/http-assert-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/http-assert/download/http-assert-0.1.0.tgz"},"_from":".","_npmVersion":"1.3.15","_npmUser":{"name":"eivifj","email":"eivind.fjeldstad@gmail.com"},"maintainers":[{"name":"dougwilson","email":""},{"name":"eivifj","email":""},{"name":"jongleberry","email":"jonathanrichardong@gmail.com"},{"name":"ulisesgascon","email":""}],"directories":{},"publish_time":1388958394987,"_cnpm_publish_time":1388958394987,"_hasShrinkwrap":false},"0.0.1":{"name":"http-assert","version":"0.0.1","description":"assert with status codes","scripts":{"test":"node test"},"repository":{"type":"git","url":"https://github.com/eivindfjeldstad/http-assert.git"},"license":"MIT","_id":"http-assert@0.0.1","dist":{"shasum":"1d870e3adb43103347e5ef3b60320dcf974fd2b7","size":770,"noattachment":false,"key":"/http-assert/-/http-assert-0.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/http-assert/download/http-assert-0.0.1.tgz"},"_npmVersion":"1.1.59","_npmUser":{"name":"eivifj","email":"eivind.fjeldstad@gmail.com"},"maintainers":[{"name":"dougwilson","email":""},{"name":"eivifj","email":""},{"name":"jongleberry","email":"jonathanrichardong@gmail.com"},{"name":"ulisesgascon","email":""}],"directories":{},"publish_time":1387847947875,"_cnpm_publish_time":1387847947875,"_hasShrinkwrap":false}},"readme":"# http-assert\n\n[![NPM Version][npm-version-image]][npm-url]\n[![NPM Downloads][npm-downloads-image]][npm-url]\n[![Node.js Version][node-version-image]][node-version-url]\n[![Build Status][ci-image]][ci-url]\n[![Test Coverage][coveralls-image]][coveralls-url]\n\nAssert with status codes. Like ctx.throw() in Koa, but with a guard.\n\n## Install\n\nThis is a [Node.js](https://nodejs.org/en/) module available through the\n[npm registry](https://www.npmjs.com/). Installation is done using the\n[`npm install` command](https://docs.npmjs.com/getting-started/installing-npm-packages-locally):\n\n```bash\n$ npm install http-assert\n```\n\n## Example\n```js\nvar assert = require('http-assert')\nvar ok = require('assert')\n\nvar username = 'foobar' // username from request\n\ntry {\n  assert(username === 'fjodor', 401, 'authentication failed')\n} catch (err) {\n  ok(err.status === 401)\n  ok(err.message === 'authentication failed')\n  ok(err.expose)\n}\n```\n\n## API\n\nThe API of this module is intended to be similar to the\n[Node.js `assert` module](https://nodejs.org/dist/latest/docs/api/assert.html).\n\nEach function will throw an instance of `HttpError` from\n[the `http-errors` module](https://www.npmjs.com/package/http-errors)\nwhen the assertion fails.\n\n### assert(value, [status], [message], [properties])\n\nTests if `value` is truthy. If `value` is not truthy, an `HttpError`\nis thrown that is constructed with the given `status`, `message`,\nand `properties`.\n\n### assert.deepEqual(a, b, [status], [message], [properties])\n\nTests for deep equality between `a` and `b`. Primitive values are\ncompared with the Abstract Equality Comparison (`==`). If `a` and `b`\nare not equal, an `HttpError` is thrown that is constructed with the\ngiven `status`, `message`, and `properties`.\n\n### assert.equal(a, b, [status], [message], [properties])\n\nTests shallow, coercive equality between `a` and `b` using the Abstract\nEquality Comparison (`==`). If `a` and `b` are not equal, an `HttpError`\nis thrown that is constructed with the given `status`, `message`,\nand `properties`.\n\n### assert.fail([status], [message], [properties])\n\nAlways throws an `HttpError` that is constructed with the given `status`,\n`message`, and `properties`.\n\n### assert.notDeepEqual(a, b, [status], [message], [properties])\n\nTests for deep equality between `a` and `b`. Primitive values are\ncompared with the Abstract Equality Comparison (`==`). If `a` and `b`\nare equal, an `HttpError` is thrown that is constructed with the given\n`status`, `message`, and `properties`.\n\n### assert.notEqual(a, b, [status], [message], [properties])\n\nTests shallow, coercive equality between `a` and `b` using the Abstract\nEquality Comparison (`==`). If `a` and `b` are equal, an `HttpError` is\nthrown that is constructed with the given `status`, `message`, and\n`properties`.\n\n### assert.notStrictEqual(a, b, [status], [message], [properties])\n\nTests strict equality between `a` and `b` as determined by the SameValue\nComparison (`===`). If `a` and `b` are equal, an `HttpError` is thrown\nthat is constructed with the given `status`, `message`, and `properties`.\n\n### assert.ok(value, [status], [message], [properties])\n\nTests if `value` is truthy. If `value` is not truthy, an `HttpError`\nis thrown that is constructed with the given `status`, `message`,\nand `properties`.\n\n### assert.strictEqual(a, b, [status], [message], [properties])\n\nTests strict equality between `a` and `b` as determined by the SameValue\nComparison (`===`). If `a` and `b` are not equal, an `HttpError`\nis thrown that is constructed with the given `status`, `message`,\nand `properties`.\n\n## Licence\n\n[MIT](LICENSE)\n\n[ci-image]: https://badgen.net/github/checks/jshttp/http-assert/master?label=ci\n[ci-url]: https://github.com/jshttp/http-assert/actions?query=workflow%3Aci\n[coveralls-image]: https://badgen.net/coveralls/c/github/jshttp/http-assert/master\n[coveralls-url]: https://coveralls.io/r/jshttp/http-assert?branch=master\n[node-version-image]: https://badgen.net/npm/node/http-assert\n[node-version-url]: https://nodejs.org/en/download\n[npm-downloads-image]: https://badgen.net/npm/dm/http-assert\n[npm-url]: https://npmjs.org/package/http-assert\n[npm-version-image]: https://badgen.net/npm/v/http-assert\n","_attachments":{},"homepage":"https://github.com/jshttp/http-assert#readme","bugs":{"url":"https://github.com/jshttp/http-assert/issues"},"license":"MIT"}