{"_id":"@types/responselike","_rev":"4568846","name":"@types/responselike","description":"TypeScript definitions for responselike","dist-tags":{"latest":"1.0.3","ts2.0":"1.0.0","ts2.1":"1.0.0","ts2.2":"1.0.0","ts2.3":"1.0.0","ts2.4":"1.0.0","ts2.5":"1.0.0","ts2.6":"1.0.0","ts2.7":"1.0.0","ts2.8":"1.0.0","ts2.9":"1.0.0","ts3.0":"1.0.0","ts3.1":"1.0.0","ts3.2":"1.0.0","ts3.3":"1.0.0","ts3.4":"1.0.0","ts3.5":"1.0.0","ts3.6":"1.0.0","ts3.7":"1.0.0","ts3.8":"1.0.0","ts3.9":"1.0.0","ts4.0":"1.0.0","ts4.1":"1.0.0","ts4.2":"1.0.0","ts4.3":"1.0.0","ts4.4":"1.0.0","ts4.5":"1.0.3","ts4.6":"1.0.3","ts4.7":"1.0.3","ts4.8":"1.0.3","ts4.9":"1.0.3","ts5.0":"1.0.3","ts5.1":"1.0.3","ts5.2":"1.0.3","ts5.3":"1.0.3","ts5.4":"1.0.3","ts5.5":"1.0.3","ts5.6":"1.0.3","ts5.7":"1.0.3","ts5.8":"1.0.3","ts5.9":"1.0.3","ts6.0":"1.0.3"},"maintainers":[{"name":"types","email":""}],"time":{"modified":"2026-04-10T15:20:43.000Z","created":"2019-01-30T18:53:44.305Z","1.0.3":"2023-11-07T15:30:27.822Z","1.0.2":"2023-10-18T13:51:10.222Z","1.0.1":"2023-09-27T09:18:40.336Z","3.0.0":"2022-09-04T11:02:40.236Z","1.0.0":"2019-01-30T18:53:44.305Z"},"users":{},"repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/responselike"},"versions":{"1.0.3":{"name":"@types/responselike","version":"1.0.3","description":"TypeScript definitions for responselike","homepage":"https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/responselike","license":"MIT","contributors":[{"name":"BendingBender","githubUsername":"BendingBender","url":"https://github.com/BendingBender"}],"main":"","types":"index.d.ts","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/responselike"},"scripts":{},"dependencies":{"@types/node":"*"},"typesPublisherContentHash":"ea1d581578b0ef6027b7cd6aa25990bb9ee8723d002d0617acf0aa4d3324aa49","typeScriptVersion":"4.5","_id":"@types/responselike@1.0.3","dist":{"shasum":"cc29706f0a397cfe6df89debfe4bf5cea159db50","size":1949,"noattachment":false,"key":"/@types/responselike/-/@types/responselike-1.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/@types/responselike/download/@types/responselike-1.0.3.tgz"},"_npmUser":{"name":"types","email":"ts-npm-types@microsoft.com"},"directories":{},"maintainers":[{"name":"types","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/responselike_1.0.3_1699371027593_0.4692311165447023"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-11-07T15:30:27.822Z","publish_time":1699371027822,"_source_registry_name":"default","_cnpm_publish_time":1699371027822},"1.0.2":{"name":"@types/responselike","version":"1.0.2","description":"TypeScript definitions for responselike","homepage":"https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/responselike","license":"MIT","contributors":[{"name":"BendingBender","githubUsername":"BendingBender","url":"https://github.com/BendingBender"}],"main":"","types":"index.d.ts","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/responselike"},"scripts":{},"dependencies":{"@types/node":"*"},"typesPublisherContentHash":"61426d6c2f235a8229a94f44232f46dd304b0ef6d828822e37c281453c4a54fb","typeScriptVersion":"4.5","_id":"@types/responselike@1.0.2","dist":{"shasum":"8de1b0477fd7c12df77e50832fa51701a8414bd6","size":1948,"noattachment":false,"key":"/@types/responselike/-/@types/responselike-1.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/@types/responselike/download/@types/responselike-1.0.2.tgz"},"_npmUser":{"name":"types","email":"ts-npm-types@microsoft.com"},"directories":{},"maintainers":[{"name":"types","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/responselike_1.0.2_1697637070071_0.5720069899977713"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-10-18T13:51:10.222Z","publish_time":1697637070222,"_source_registry_name":"default","_cnpm_publish_time":1697637070222},"1.0.1":{"name":"@types/responselike","version":"1.0.1","description":"TypeScript definitions for responselike","homepage":"https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/responselike","license":"MIT","contributors":[{"name":"BendingBender","url":"https://github.com/BendingBender","githubUsername":"BendingBender"}],"main":"","types":"index.d.ts","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/responselike"},"scripts":{},"dependencies":{"@types/node":"*"},"typesPublisherContentHash":"f455a4d977ac656d0981fba1b87415666d812e96862b4cc39bbf86790744b4f5","typeScriptVersion":"4.5","_id":"@types/responselike@1.0.1","dist":{"shasum":"1dd57e54509b3b95c7958e52709567077019d65d","size":2017,"noattachment":false,"key":"/@types/responselike/-/@types/responselike-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@types/responselike/download/@types/responselike-1.0.1.tgz"},"_npmUser":{"name":"types","email":"ts-npm-types@microsoft.com"},"directories":{},"maintainers":[{"name":"types","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/responselike_1.0.1_1695806320143_0.9107615305630679"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-09-27T09:18:40.336Z","publish_time":1695806320336,"_source_registry_name":"default","_cnpm_publish_time":1695806320336},"3.0.0":{"name":"@types/responselike","version":"3.0.0","description":"Stub TypeScript definitions entry for responselike, which provides its own types definitions","main":"","scripts":{},"license":"MIT","dependencies":{"responselike":"*"},"deprecated":"This is a stub types definition. responselike provides its own type definitions, so you do not need this installed.","_id":"@types/responselike@3.0.0","dist":{"shasum":"5ecc1fc88552e5ac03de648a7796f9e125d002dc","size":1133,"noattachment":false,"key":"/@types/responselike/-/@types/responselike-3.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@types/responselike/download/@types/responselike-3.0.0.tgz"},"_npmUser":{"name":"types","email":"ts-npm-types@microsoft.com"},"directories":{},"maintainers":[{"name":"types","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/responselike_3.0.0_1662289360049_0.4448736802876745"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-09-04T11:02:46.493Z","publish_time":1662289360236,"_cnpm_publish_time":1662289360236},"1.0.0":{"name":"@types/responselike","version":"1.0.0","description":"TypeScript definitions for responselike","license":"MIT","contributors":[{"name":"BendingBender","url":"https://github.com/BendingBender","githubUsername":"BendingBender"}],"main":"","types":"index","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git"},"scripts":{},"dependencies":{"@types/node":"*"},"typesPublisherContentHash":"38ee8db1511cdb4a9133ff67b8bc16901de733aa4dc1efffdb5064b7daaa3f21","typeScriptVersion":"2.0","_id":"@types/responselike@1.0.0","dist":{"shasum":"251f4fe7d154d2bad125abe1b429b23afd262e29","size":1877,"noattachment":false,"key":"/@types/responselike/-/@types/responselike-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@types/responselike/download/@types/responselike-1.0.0.tgz"},"maintainers":[{"name":"types","email":""}],"_npmUser":{"name":"types","email":"ts-npm-types@microsoft.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/responselike_1.0.0_1548874424163_0.15382502147942811"},"_hasShrinkwrap":false,"publish_time":1548874424305,"_cnpm_publish_time":1548874424305}},"readme":"# Installation\r\n> `npm install --save @types/responselike`\r\n\r\n# Summary\r\nThis package contains type definitions for responselike (https://github.com/lukechilds/responselike#readme).\r\n\r\n# Details\r\nFiles were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/responselike.\r\n## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/responselike/index.d.ts)\r\n````ts\r\n/// <reference types=\"node\" />\n\nimport { IncomingMessage } from \"http\";\nimport { Stream } from \"stream\";\n\nexport = ResponseLike;\n\n/**\n * Returns a streamable response object similar to a [Node.js HTTP response stream](https://nodejs.org/api/http.html#http_class_http_incomingmessage).\n */\ndeclare class ResponseLike extends Stream.Readable {\n    statusCode: number;\n    headers: { [header: string]: string | string[] | undefined };\n    body: Buffer;\n    url: string;\n\n    /**\n     * @param statusCode HTTP response status code.\n     * @param headers HTTP headers object. Keys will be automatically lowercased.\n     * @param body A Buffer containing the response body. The Buffer contents will be streamable but is also exposed directly as `response.body`.\n     * @param url Request URL string.\n     */\n    constructor(\n        statusCode: number,\n        headers: { [header: string]: string | string[] | undefined },\n        body: Buffer,\n        url: string,\n    );\n}\n\r\n````\r\n\r\n### Additional Details\r\n * Last updated: Tue, 07 Nov 2023 15:11:36 GMT\r\n * Dependencies: [@types/node](https://npmjs.com/package/@types/node)\r\n\r\n# Credits\r\nThese definitions were written by [BendingBender](https://github.com/BendingBender).\r\n","_attachments":{},"homepage":"https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/responselike","license":"MIT"}