{"_id":"@types/http-server","_rev":"2931093","name":"@types/http-server","description":"TypeScript definitions for http-server","dist-tags":{"latest":"0.12.1","ts2.0":"0.10.0","ts2.1":"0.10.0","ts2.2":"0.10.0","ts2.3":"0.10.0","ts2.4":"0.10.0","ts2.5":"0.10.0","ts2.6":"0.10.0","ts2.7":"0.10.0","ts2.8":"0.10.0","ts2.9":"0.10.0","ts3.0":"0.10.0","ts3.1":"0.10.0","ts3.2":"0.10.1","ts3.3":"0.10.1","ts3.4":"0.10.1","ts3.5":"0.10.1","ts3.6":"0.12.1","ts3.7":"0.12.1","ts3.8":"0.12.1","ts3.9":"0.12.1","ts4.0":"0.12.1","ts4.1":"0.12.1","ts4.2":"0.12.1","ts4.3":"0.12.1","ts4.4":"0.12.1","ts4.5":"0.12.1","ts4.6":"0.12.1","ts4.7":"0.12.1","ts4.8":"0.12.1","ts4.9":"0.12.1","ts5.0":"0.12.1","ts5.1":"0.12.1"},"maintainers":[{"name":"types","email":""}],"time":{"modified":"2023-03-14T06:28:22.000Z","created":"2017-10-09T22:50:28.774Z","0.12.1":"2021-07-06T21:37:58.497Z","0.12.0":"2021-06-12T01:01:37.835Z","0.10.1":"2020-10-28T18:57:27.821Z","0.10.0":"2017-10-09T22:50:28.774Z"},"users":{},"repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/http-server"},"versions":{"0.12.1":{"name":"@types/http-server","version":"0.12.1","description":"TypeScript definitions for http-server","homepage":"https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/http-server","license":"MIT","contributors":[{"name":"York Yao","url":"https://github.com/plantain-00","githubUsername":"plantain-00"}],"main":"","types":"index.d.ts","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/http-server"},"scripts":{},"dependencies":{"@types/connect":"*"},"typesPublisherContentHash":"3d1fc483edcb6183c0581d374792e5e5d293c4ec5048188fe38c314e69c4816a","typeScriptVersion":"3.6","_id":"@types/http-server@0.12.1","dist":{"shasum":"025f916420673f5ebc5ea48987aeae27776f02ac","size":1875,"noattachment":false,"key":"/@types/http-server/-/@types/http-server-0.12.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@types/http-server/download/@types/http-server-0.12.1.tgz"},"_npmUser":{"name":"types","email":"ts-npm-types@microsoft.com"},"directories":{},"maintainers":[{"name":"types","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/http-server_0.12.1_1625607478167_0.9017132566003128"},"_hasShrinkwrap":false,"publish_time":1625607478497,"_cnpm_publish_time":1625607478497,"_cnpmcore_publish_time":"2021-12-16T18:28:33.058Z"},"0.12.0":{"name":"@types/http-server","version":"0.12.0","description":"TypeScript definitions for http-server","homepage":"https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/http-server","license":"MIT","contributors":[{"name":"York Yao","url":"https://github.com/plantain-00","githubUsername":"plantain-00"}],"main":"","types":"index.d.ts","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/http-server"},"scripts":{},"dependencies":{"@types/connect":"*"},"typesPublisherContentHash":"a5b9d812e7ba809376ad6e1635c1f1b7ce70c585551fe654e1410bb0d485cefa","typeScriptVersion":"3.6","_id":"@types/http-server@0.12.0","dist":{"shasum":"efb2829fe85cd63dbf269add781fae74d161647d","size":1848,"noattachment":false,"key":"/@types/http-server/-/@types/http-server-0.12.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@types/http-server/download/@types/http-server-0.12.0.tgz"},"_npmUser":{"name":"types","email":"ts-npm-types@microsoft.com"},"directories":{},"maintainers":[{"name":"types","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/http-server_0.12.0_1623459697471_0.3470171203223007"},"_hasShrinkwrap":false,"publish_time":1623459697835,"_cnpm_publish_time":1623459697835,"_cnpmcore_publish_time":"2021-12-16T18:28:33.296Z"},"0.10.1":{"name":"@types/http-server","version":"0.10.1","description":"TypeScript definitions for http-server","license":"MIT","contributors":[{"name":"York Yao","url":"https://github.com/plantain-00","githubUsername":"plantain-00"}],"main":"","types":"index.d.ts","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/http-server"},"scripts":{},"dependencies":{"@types/connect":"*"},"typesPublisherContentHash":"d43f9eecb1c9375d0b39d44fb46419071af89ba4d74ad2464cf34a1b2749efab","typeScriptVersion":"3.2","_id":"@types/http-server@0.10.1","dist":{"shasum":"3d7e52830c0c9958df52286b3a6587a5980cc666","size":1777,"noattachment":false,"key":"/@types/http-server/-/@types/http-server-0.10.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@types/http-server/download/@types/http-server-0.10.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-server_0.10.1_1603911447699_0.458519547903085"},"_hasShrinkwrap":false,"publish_time":1603911447821,"_cnpm_publish_time":1603911447821,"_cnpmcore_publish_time":"2021-12-16T18:28:33.476Z"},"0.10.0":{"name":"@types/http-server","version":"0.10.0","description":"TypeScript definitions for http-server","license":"MIT","contributors":[{"name":"York Yao","url":"https://github.com/plantain-00","githubUsername":"plantain-00"}],"main":"","repository":{"type":"git","url":"https://www.github.com/DefinitelyTyped/DefinitelyTyped.git"},"scripts":{},"dependencies":{"@types/connect":"*"},"typesPublisherContentHash":"efe893d3b77357b7fff1716bac8168aa4a4c6b9bcfa18d60e9f875eb017f34ec","typeScriptVersion":"2.0","_id":"@types/http-server@0.10.0","dist":{"shasum":"f5fe4a136ac4b2e5b5c25d017bb79310eafe5ece","size":1795,"noattachment":false,"key":"/@types/http-server/-/@types/http-server-0.10.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@types/http-server/download/@types/http-server-0.10.0.tgz"},"maintainers":[{"name":"types","email":""}],"_npmUser":{"name":"types","email":"ts-npm-types@microsoft.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/http-server-0.10.0.tgz_1507589428711_0.8496289439499378"},"directories":{},"publish_time":1507589428774,"_hasShrinkwrap":false,"_cnpm_publish_time":1507589428774,"_cnpmcore_publish_time":"2021-12-16T18:28:33.679Z"}},"readme":"# Installation\r\n> `npm install --save @types/http-server`\r\n\r\n# Summary\r\nThis package contains type definitions for http-server (https://github.com/indexzero/http-server#readme).\r\n\r\n# Details\r\nFiles were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/http-server.\r\n## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/http-server/index.d.ts)\r\n````ts\r\n// Type definitions for http-server 0.12\n// Project: https://github.com/indexzero/http-server#readme\n// Definitions by: York Yao <https://github.com/plantain-00>\n// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped\n\nimport * as http from \"http\";\nimport * as https from \"https\";\nimport { HandleFunction } from \"connect\";\n\nexport function createServer(options?: Options): http.Server | https.Server;\n\nexport interface Options {\n    root?: string | undefined;\n    headers?: { [name: string]: string } | undefined;\n    cache?: number | undefined;\n    showDir?: boolean | \"false\" | undefined;\n    autoIndex?: boolean | \"false\" | undefined;\n    showDotfiles?: boolean | undefined;\n    gzip?: boolean | undefined;\n    contentType?: string | undefined;\n    ext?: boolean | undefined;\n    before?: HandleFunction[] | undefined;\n    logFn?: ((req: http.IncomingMessage, res: http.ServerResponse, err: Error) => void) | undefined;\n    cors?: boolean | undefined;\n    corsHeaders?: string | undefined;\n    robots?: string | true | undefined;\n    proxy?: string | undefined;\n    https?: https.ServerOptions | undefined;\n    username?: string | undefined;\n    password?: string | undefined;\n}\n\r\n````\r\n\r\n### Additional Details\r\n * Last updated: Tue, 06 Jul 2021 21:33:37 GMT\r\n * Dependencies: [@types/connect](https://npmjs.com/package/@types/connect)\r\n * Global values: none\r\n\r\n# Credits\r\nThese definitions were written by [York Yao](https://github.com/plantain-00).\r\n","_attachments":{},"homepage":"https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/http-server","license":"MIT"}