{"_id":"@types/http-assert","_rev":"279263","name":"@types/http-assert","description":"TypeScript definitions for http-assert","dist-tags":{"latest":"1.5.3","ts2.0":"1.2.1","ts2.1":"1.2.1","ts2.2":"1.5.0","ts2.3":"1.5.1","ts2.4":"1.5.1","ts2.5":"1.5.1","ts2.6":"1.5.1","ts2.7":"1.5.1","ts2.8":"1.5.1","ts2.9":"1.5.1","ts3.0":"1.5.1","ts3.1":"1.5.1","ts3.2":"1.5.1","ts3.3":"1.5.1","ts3.4":"1.5.1","ts3.5":"1.5.1","ts3.6":"1.5.2","ts3.7":"1.5.3","ts3.8":"1.5.3","ts3.9":"1.5.3","ts4.0":"1.5.3","ts4.1":"1.5.3","ts4.2":"1.5.3","ts4.3":"1.5.3","ts4.4":"1.5.3","ts4.5":"1.5.3","ts4.6":"1.5.3","ts4.7":"1.5.3","ts4.8":"1.5.3","ts4.9":"1.5.3","ts5.0":"1.5.3","ts5.1":"1.5.3","ts5.2":"1.5.3","ts5.3":"1.5.3"},"maintainers":[{"name":"types","email":""}],"time":{"modified":"2023-09-20T17:58:09.000Z","created":"2017-01-06T16:35:09.257Z","1.5.3":"2021-08-26T01:02:17.582Z","1.5.2":"2021-08-06T08:31:36.921Z","1.5.1":"2019-08-19T01:07:00.829Z","1.5.0":"2019-07-08T21:19:33.867Z","1.4.1":"2019-07-02T16:36:16.068Z","1.4.0":"2018-12-26T06:45:43.280Z","1.3.0":"2018-05-22T02:22:57.911Z","1.2.2":"2017-11-09T08:44:50.738Z","1.2.1":"2017-10-25T01:05:15.414Z","1.2.0":"2017-01-06T16:35:09.257Z"},"users":{},"repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/http-assert"},"versions":{"1.5.3":{"name":"@types/http-assert","version":"1.5.3","description":"TypeScript definitions for http-assert","homepage":"https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/http-assert","license":"MIT","contributors":[{"name":"jKey Lu","url":"https://github.com/jkeylu","githubUsername":"jkeylu"},{"name":"Peter Squicciarini","url":"https://github.com/stripedpajamas","githubUsername":"stripedpajamas"},{"name":"Alex Bulanov","url":"https://github.com/sapfear","githubUsername":"sapfear"}],"main":"","types":"index.d.ts","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/http-assert"},"scripts":{},"dependencies":{},"typesPublisherContentHash":"7ad91b3d116c75bc8d2d07998ed8070e21592e70b3b42d86884d6168e8c7dc2b","typeScriptVersion":"3.7","_id":"@types/http-assert@1.5.3","dist":{"shasum":"ef8e3d1a8d46c387f04ab0f2e8ab8cb0c5078661","size":1951,"noattachment":false,"key":"/@types/http-assert/-/@types/http-assert-1.5.3.tgz","tarball":"http://name.csiicloud.com:7001/@types/http-assert/download/@types/http-assert-1.5.3.tgz"},"_npmUser":{"name":"types","email":"ts-npm-types@microsoft.com"},"directories":{},"maintainers":[{"name":"types","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/http-assert_1.5.3_1629939737463_0.3861409141033989"},"_hasShrinkwrap":false,"publish_time":1629939737582,"_cnpm_publish_time":1629939737582,"_cnpmcore_publish_time":"2021-12-18T14:22:46.478Z"},"1.5.2":{"name":"@types/http-assert","version":"1.5.2","description":"TypeScript definitions for http-assert","homepage":"https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/http-assert","license":"MIT","contributors":[{"name":"jKey Lu","url":"https://github.com/jkeylu","githubUsername":"jkeylu"},{"name":"Peter Squicciarini","url":"https://github.com/stripedpajamas","githubUsername":"stripedpajamas"},{"name":"Alex Bulanov","url":"https://github.com/sapfear","githubUsername":"sapfear"}],"main":"","types":"index.d.ts","typesVersions":{"<=3.6":{"*":["ts3.6/*"]}},"repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/http-assert"},"scripts":{},"dependencies":{},"typesPublisherContentHash":"d1dc881e77ed7836908aaa000b70b8f8fe73ed688fe03cd695e279f72981b061","typeScriptVersion":"3.6","_id":"@types/http-assert@1.5.2","dist":{"shasum":"a7fb59a7ca366e141789a084555a633801b9af3b","size":2027,"noattachment":false,"key":"/@types/http-assert/-/@types/http-assert-1.5.2.tgz","tarball":"http://name.csiicloud.com:7001/@types/http-assert/download/@types/http-assert-1.5.2.tgz"},"_npmUser":{"name":"types","email":"ts-npm-types@microsoft.com"},"directories":{},"maintainers":[{"name":"types","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/http-assert_1.5.2_1628238696762_0.2609008297502482"},"_hasShrinkwrap":false,"publish_time":1628238696921,"_cnpm_publish_time":1628238696921,"_cnpmcore_publish_time":"2021-12-18T14:22:46.702Z"},"1.5.1":{"name":"@types/http-assert","version":"1.5.1","description":"TypeScript definitions for http-assert","license":"MIT","contributors":[{"name":"jKey Lu","url":"https://github.com/jkeylu","githubUsername":"jkeylu"},{"name":"Peter Squicciarini","url":"https://github.com/stripedpajamas","githubUsername":"stripedpajamas"},{"name":"Alex Bulanov","url":"https://github.com/sapfear","githubUsername":"sapfear"}],"main":"","types":"index","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/http-assert"},"scripts":{},"dependencies":{},"typesPublisherContentHash":"25e5ec6bb6a8c0e3ba83fc4a67c444744defd0d4d2707b09649fc09dbb271083","typeScriptVersion":"2.3","_id":"@types/http-assert@1.5.1","dist":{"shasum":"d775e93630c2469c2f980fc27e3143240335db3b","size":1859,"noattachment":false,"key":"/@types/http-assert/-/@types/http-assert-1.5.1.tgz","tarball":"http://name.csiicloud.com:7001/@types/http-assert/download/@types/http-assert-1.5.1.tgz"},"maintainers":[{"name":"types","email":""}],"_npmUser":{"name":"types","email":"ts-npm-types@microsoft.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/http-assert_1.5.1_1566176820741_0.3411080127018544"},"_hasShrinkwrap":false,"publish_time":1566176820829,"_cnpm_publish_time":1566176820829,"_cnpmcore_publish_time":"2021-12-18T14:22:46.928Z"},"1.5.0":{"name":"@types/http-assert","version":"1.5.0","description":"TypeScript definitions for http-assert","license":"MIT","contributors":[{"name":"jKey Lu","url":"https://github.com/jkeylu","githubUsername":"jkeylu"},{"name":"Peter Squicciarini","url":"https://github.com/stripedpajamas","githubUsername":"stripedpajamas"},{"name":"Alex Bulanov","url":"https://github.com/sapfear","githubUsername":"sapfear"}],"main":"","types":"index","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/http-assert"},"scripts":{},"dependencies":{},"typesPublisherContentHash":"9c674f969c27931d88f6a728d4e8d9e10bca6f5503b9156d5e01529c781f77dc","typeScriptVersion":"2.2","_id":"@types/http-assert@1.5.0","dist":{"shasum":"56c95c69b51e7168b0d6727005d1fb2a00aaef94","size":1861,"noattachment":false,"key":"/@types/http-assert/-/@types/http-assert-1.5.0.tgz","tarball":"http://name.csiicloud.com:7001/@types/http-assert/download/@types/http-assert-1.5.0.tgz"},"maintainers":[{"name":"types","email":""}],"_npmUser":{"name":"types","email":"ts-npm-types@microsoft.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/http-assert_1.5.0_1562620773706_0.16293265697899306"},"_hasShrinkwrap":false,"publish_time":1562620773867,"_cnpm_publish_time":1562620773867,"_cnpmcore_publish_time":"2021-12-18T14:22:47.144Z"},"1.4.1":{"name":"@types/http-assert","version":"1.4.1","description":"TypeScript definitions for http-assert","license":"MIT","contributors":[{"name":"jKey Lu","url":"https://github.com/jkeylu","githubUsername":"jkeylu"},{"name":"Peter Squicciarini","url":"https://github.com/stripedpajamas","githubUsername":"stripedpajamas"},{"name":"Alex Bulanov","url":"https://github.com/sapfear","githubUsername":"sapfear"}],"main":"","types":"index","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/http-assert"},"scripts":{},"dependencies":{},"typesPublisherContentHash":"2396544404736718a9581a0c2353b00ecf4935a020c6eced75ab8e8cb54dea01","typeScriptVersion":"2.2","_id":"@types/http-assert@1.4.1","dist":{"shasum":"211bf0c5c0b2fc71f885882bb7f065840cffad06","size":1858,"noattachment":false,"key":"/@types/http-assert/-/@types/http-assert-1.4.1.tgz","tarball":"http://name.csiicloud.com:7001/@types/http-assert/download/@types/http-assert-1.4.1.tgz"},"maintainers":[{"name":"types","email":""}],"_npmUser":{"name":"types","email":"ts-npm-types@microsoft.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/http-assert_1.4.1_1562085375924_0.1805015180657794"},"_hasShrinkwrap":false,"publish_time":1562085376068,"_cnpm_publish_time":1562085376068,"_cnpmcore_publish_time":"2021-12-18T14:22:47.375Z"},"1.4.0":{"name":"@types/http-assert","version":"1.4.0","description":"TypeScript definitions for http-assert","license":"MIT","contributors":[{"name":"jKey Lu","url":"https://github.com/jkeylu","githubUsername":"jkeylu"},{"name":"Peter Squicciarini","url":"https://github.com/stripedpajamas","githubUsername":"stripedpajamas"}],"main":"","types":"index","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git"},"scripts":{},"dependencies":{},"typesPublisherContentHash":"bd293e86613226f20b533c9e8ce79cfe05e896dc88e722923a05e61295cd77c3","typeScriptVersion":"2.2","_id":"@types/http-assert@1.4.0","dist":{"shasum":"41d173466e396e99a14d75f7160cc997f2f9ed8b","size":1770,"noattachment":false,"key":"/@types/http-assert/-/@types/http-assert-1.4.0.tgz","tarball":"http://name.csiicloud.com:7001/@types/http-assert/download/@types/http-assert-1.4.0.tgz"},"maintainers":[{"name":"types","email":""}],"_npmUser":{"name":"types","email":"ts-npm-types@microsoft.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/http-assert_1.4.0_1545806742961_0.8304253450854768"},"_hasShrinkwrap":false,"publish_time":1545806743280,"_cnpm_publish_time":1545806743280,"_cnpmcore_publish_time":"2021-12-18T14:22:47.584Z"},"1.3.0":{"name":"@types/http-assert","version":"1.3.0","description":"TypeScript definitions for http-assert","license":"MIT","contributors":[{"name":"jKey Lu","url":"https://github.com/jkeylu","githubUsername":"jkeylu"}],"main":"","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git.git"},"scripts":{},"dependencies":{},"typesPublisherContentHash":"26e990b0d907bdc85a8e50b3c4a72b17f84ba1e6336bbd970d1dc4daa57df007","typeScriptVersion":"2.2","_id":"@types/http-assert@1.3.0","dist":{"shasum":"5e932606153da28e1d04f9043f4912cf61fd55dd","size":1716,"noattachment":false,"key":"/@types/http-assert/-/@types/http-assert-1.3.0.tgz","tarball":"http://name.csiicloud.com:7001/@types/http-assert/download/@types/http-assert-1.3.0.tgz"},"maintainers":[{"name":"types","email":""}],"_npmUser":{"name":"types","email":"ts-npm-types@microsoft.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/http-assert_1.3.0_1526955777748_0.9670320222096829"},"_hasShrinkwrap":false,"publish_time":1526955777911,"_cnpm_publish_time":1526955777911,"_cnpmcore_publish_time":"2021-12-18T14:22:47.813Z"},"1.2.2":{"name":"@types/http-assert","version":"1.2.2","description":"TypeScript definitions for http-assert","license":"MIT","contributors":[{"name":"jKey Lu","url":"https://github.com/jkeylu","githubUsername":"jkeylu"}],"main":"","repository":{"type":"git","url":"https://www.github.com/DefinitelyTyped/DefinitelyTyped.git"},"scripts":{},"dependencies":{},"typesPublisherContentHash":"819edd178b7e315dc5eec6d303506440494295f0b812f95a81bcb919f93159d0","typeScriptVersion":"2.2","_id":"@types/http-assert@1.2.2","dist":{"shasum":"17dfe5a82184a8898935d96fe2eaedd37d22d9a4","size":1709,"noattachment":false,"key":"/@types/http-assert/-/@types/http-assert-1.2.2.tgz","tarball":"http://name.csiicloud.com:7001/@types/http-assert/download/@types/http-assert-1.2.2.tgz"},"maintainers":[{"name":"types","email":""}],"_npmUser":{"name":"types","email":"ts-npm-types@microsoft.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/http-assert-1.2.2.tgz_1510217090682_0.9066332313232124"},"directories":{},"publish_time":1510217090738,"_hasShrinkwrap":false,"_cnpm_publish_time":1510217090738,"_cnpmcore_publish_time":"2021-12-18T14:22:48.029Z"},"1.2.1":{"name":"@types/http-assert","version":"1.2.1","description":"TypeScript definitions for http-assert","license":"MIT","contributors":[{"name":"jKey Lu","url":"https://github.com/jkeylu","githubUsername":"jkeylu"}],"main":"","repository":{"type":"git","url":"https://www.github.com/DefinitelyTyped/DefinitelyTyped.git"},"scripts":{},"dependencies":{},"typesPublisherContentHash":"9710696fe00b159b9db3b80e6802fb8055bf7eb7af2aaa1cf3f029a3c7fa1d36","typeScriptVersion":"2.0","_id":"@types/http-assert@1.2.1","dist":{"shasum":"94331490c7ccea7a233a2ec0da3282d72b968e92","size":1703,"noattachment":false,"key":"/@types/http-assert/-/@types/http-assert-1.2.1.tgz","tarball":"http://name.csiicloud.com:7001/@types/http-assert/download/@types/http-assert-1.2.1.tgz"},"maintainers":[{"name":"types","email":""}],"_npmUser":{"name":"types","email":"ts-npm-types@microsoft.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/http-assert-1.2.1.tgz_1508893515343_0.5228477888740599"},"directories":{},"publish_time":1508893515414,"_hasShrinkwrap":false,"_cnpm_publish_time":1508893515414,"_cnpmcore_publish_time":"2021-12-18T14:22:48.255Z"},"1.2.0":{"name":"@types/http-assert","version":"1.2.0","description":"TypeScript definitions for http-assert","license":"MIT","author":"jKey Lu <https://github.com/jkeylu>","main":"","repository":{"type":"git","url":"https://www.github.com/DefinitelyTyped/DefinitelyTyped.git"},"scripts":{},"dependencies":{},"peerDependencies":{},"typesPublisherContentHash":"a9f76e2b332499b53a592e67b80c91b4b35f3588c6b57534e06a062143620b76","typeScriptVersion":"2.0","_id":"@types/http-assert@1.2.0","dist":{"shasum":"0b82993036e86c6ff2944e033b73b57e85ccdcab","size":1197,"noattachment":false,"key":"/@types/http-assert/-/@types/http-assert-1.2.0.tgz","tarball":"http://name.csiicloud.com:7001/@types/http-assert/download/@types/http-assert-1.2.0.tgz"},"maintainers":[{"name":"types","email":""}],"_npmUser":{"name":"types","email":"ts-npm-types@microsoft.com"},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/http-assert-1.2.0.tgz_1483720509037_0.6169558297842741"},"directories":{},"publish_time":1483720509257,"_hasShrinkwrap":false,"_cnpm_publish_time":1483720509257,"_cnpmcore_publish_time":"2021-12-18T14:22:48.484Z"}},"readme":"# Installation\r\n> `npm install --save @types/http-assert`\r\n\r\n# Summary\r\nThis package contains type definitions for http-assert (https://github.com/jshttp/http-assert).\r\n\r\n# Details\r\nFiles were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/http-assert.\r\n## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/http-assert/index.d.ts)\r\n````ts\r\n// Type definitions for http-assert 1.5\n// Project: https://github.com/jshttp/http-assert\n// Definitions by: jKey Lu <https://github.com/jkeylu>\n//                 Peter Squicciarini <https://github.com/stripedpajamas>\n//                 Alex Bulanov <https://github.com/sapfear>\n// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped\n// TypeScript Version: 2.3\n\n/**\n * @param status the status code\n * @param msg the message of the error, defaulting to node's text for that status code\n * @param opts custom properties to attach to the error object\n */\ndeclare function assert(value: any, status?: number, msg?: string, opts?: Record<string, any>): asserts value;\ndeclare function assert(value: any, status?: number, opts?: Record<string, any>): asserts value;\n\ndeclare namespace assert {\n    /**\n     * @param status the status code\n     * @param msg the message of the error, defaulting to node's text for that status code\n     * @param opts custom properties to attach to the error object\n     */\n    type Assert = <T>(a: T, b: T, status?: number, msg?: string, opts?: Record<string, any>) => void;\n\n    /**\n     * @param status the status code\n     * @param msg the message of the error, defaulting to node's text for that status code\n     * @param opts custom properties to attach to the error object\n     */\n    type AssertOK = (a: any, status?: number, msg?: string, opts?: Record<string, any>) => asserts a;\n\n    /**\n     * @param status the status code\n     * @param msg the message of the error, defaulting to node's text for that status code\n     * @param opts custom properties to attach to the error object\n     */\n    type AssertEqual = (a: any, b: any, status?: number, msg?: string, opts?: Record<string, any>) => void;\n\n    const equal: Assert;\n    const notEqual: Assert;\n    const ok: AssertOK;\n    const strictEqual: AssertEqual;\n    const notStrictEqual: AssertEqual;\n    const deepEqual: AssertEqual;\n    const notDeepEqual: AssertEqual;\n}\n\nexport = assert;\n\r\n````\r\n\r\n### Additional Details\r\n * Last updated: Thu, 26 Aug 2021 01:01:28 GMT\r\n * Dependencies: none\r\n * Global values: none\r\n\r\n# Credits\r\nThese definitions were written by [jKey Lu](https://github.com/jkeylu), [Peter Squicciarini](https://github.com/stripedpajamas), and [Alex Bulanov](https://github.com/sapfear).\r\n","_attachments":{},"homepage":"https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/http-assert","license":"MIT"}