{"_id":"@types/co-body","_rev":"4338359","name":"@types/co-body","description":"TypeScript definitions for co-body","dist-tags":{"latest":"6.1.3","ts2.0":"0.0.2","ts2.1":"0.0.2","ts2.2":"0.0.2","ts2.3":"0.0.3","ts2.4":"0.0.3","ts2.5":"0.0.3","ts2.6":"0.0.3","ts2.7":"0.0.3","ts2.8":"5.1.0","ts2.9":"5.1.0","ts3.0":"5.1.0","ts3.1":"5.1.0","ts3.2":"5.1.0","ts3.3":"5.1.0","ts3.4":"5.1.0","ts3.5":"5.1.0","ts3.6":"6.1.0","ts3.7":"6.1.0","ts3.8":"6.1.0","ts3.9":"6.1.0","ts4.0":"6.1.0","ts4.1":"6.1.0","ts4.2":"6.1.0","ts4.3":"6.1.1","ts4.4":"6.1.1","ts4.5":"6.1.3","ts4.6":"6.1.3","ts4.7":"6.1.3","ts4.8":"6.1.3","ts4.9":"6.1.3","ts5.0":"6.1.3","ts5.1":"6.1.3","ts5.2":"6.1.3","ts5.3":"6.1.3","ts5.4":"6.1.3","ts5.5":"6.1.3","ts5.6":"6.1.3","ts5.7":"6.1.3","ts5.8":"6.1.3","ts5.9":"6.1.3","ts6.0":"6.1.3"},"maintainers":[{"name":"types","email":""}],"time":{"modified":"2026-04-08T09:58:29.000Z","created":"2016-09-20T21:15:39.011Z","6.1.3":"2023-11-07T00:44:50.569Z","6.1.2":"2023-10-17T23:57:48.259Z","6.1.1":"2023-09-04T16:04:48.181Z","6.1.0":"2021-07-29T13:32:13.479Z","5.1.1":"2021-07-06T18:28:47.516Z","5.1.0":"2020-04-27T16:09:33.303Z","0.0.4":"2020-04-27T15:35:02.273Z","0.0.3":"2017-11-08T22:17:02.116Z","0.0.2":"2017-10-14T06:13:23.612Z","0.0.1":"2016-09-20T21:15:39.011Z"},"users":{},"repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/co-body"},"versions":{"6.1.3":{"name":"@types/co-body","version":"6.1.3","description":"TypeScript definitions for co-body","homepage":"https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/co-body","license":"MIT","contributors":[{"name":"Joshua DeVinney","githubUsername":"geoffreak","url":"https://github.com/geoffreak"}],"main":"","types":"index.d.ts","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/co-body"},"scripts":{},"dependencies":{"@types/node":"*","@types/qs":"*"},"typesPublisherContentHash":"657e18a45bff88fd6e2edd7892b111af168601fb73a506c4f362b7fc4e51489e","typeScriptVersion":"4.5","_id":"@types/co-body@6.1.3","dist":{"shasum":"201796c6389066b400cfcb4e1ec5c3db798265a2","size":1883,"noattachment":false,"key":"/@types/co-body/-/@types/co-body-6.1.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/@types/co-body/download/@types/co-body-6.1.3.tgz"},"_npmUser":{"name":"types","email":"ts-npm-types@microsoft.com"},"directories":{},"maintainers":[{"name":"types","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/co-body_6.1.3_1699317890377_0.32405222112286935"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-11-07T00:44:50.569Z","publish_time":1699317890569,"_source_registry_name":"default","_cnpm_publish_time":1699317890569},"6.1.2":{"name":"@types/co-body","version":"6.1.2","description":"TypeScript definitions for co-body","homepage":"https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/co-body","license":"MIT","contributors":[{"name":"Joshua DeVinney","githubUsername":"geoffreak","url":"https://github.com/geoffreak"}],"main":"","types":"index.d.ts","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/co-body"},"scripts":{},"dependencies":{"@types/node":"*","@types/qs":"*"},"typesPublisherContentHash":"91d67723b1b30e22d8e185b75dec1ebef65e3f749091adb4acf9c056ea36068f","typeScriptVersion":"4.5","_id":"@types/co-body@6.1.2","dist":{"shasum":"3c41d59dd84b792dcfdf6f4b8ddf532da5c41ee3","size":1882,"noattachment":false,"key":"/@types/co-body/-/@types/co-body-6.1.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/@types/co-body/download/@types/co-body-6.1.2.tgz"},"_npmUser":{"name":"types","email":"ts-npm-types@microsoft.com"},"directories":{},"maintainers":[{"name":"types","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/co-body_6.1.2_1697587068022_0.6228558107538715"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-10-17T23:57:48.259Z","publish_time":1697587068259,"_source_registry_name":"default","_cnpm_publish_time":1697587068259},"6.1.1":{"name":"@types/co-body","version":"6.1.1","description":"TypeScript definitions for co-body","homepage":"https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/co-body","license":"MIT","contributors":[{"name":"Joshua DeVinney","url":"https://github.com/geoffreak","githubUsername":"geoffreak"}],"main":"","types":"index.d.ts","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/co-body"},"scripts":{},"dependencies":{"@types/node":"*","@types/qs":"*"},"typesPublisherContentHash":"59e2281250ebcfd695dfce5336fd8a9aa0de3a1cc9dfa4e8958b97c22b3c6cb9","typeScriptVersion":"4.3","_id":"@types/co-body@6.1.1","dist":{"shasum":"28d253c95cfbe30c8e8c5d69d4c0dbbcffc101c2","size":1920,"noattachment":false,"key":"/@types/co-body/-/@types/co-body-6.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@types/co-body/download/@types/co-body-6.1.1.tgz"},"_npmUser":{"name":"types","email":"ts-npm-types@microsoft.com"},"directories":{},"maintainers":[{"name":"types","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/co-body_6.1.1_1693843488022_0.31855987766337557"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-09-04T16:04:48.181Z","publish_time":1693843488181,"_source_registry_name":"default","_cnpm_publish_time":1693843488181},"6.1.0":{"name":"@types/co-body","version":"6.1.0","description":"TypeScript definitions for co-body","homepage":"https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/co-body","license":"MIT","contributors":[{"name":"Joshua DeVinney","url":"https://github.com/geoffreak","githubUsername":"geoffreak"}],"main":"","types":"index.d.ts","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/co-body"},"scripts":{},"dependencies":{"@types/node":"*","@types/qs":"*"},"typesPublisherContentHash":"efda177d429b470d7e43f8f93f8ace23a7b6670df2a39dbf16fdf4334120b78a","typeScriptVersion":"3.6","_id":"@types/co-body@6.1.0","dist":{"shasum":"b52625390eb0d113c9b697ea92c3ffae7740cdb9","size":1881,"noattachment":false,"key":"/@types/co-body/-/@types/co-body-6.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@types/co-body/download/@types/co-body-6.1.0.tgz"},"_npmUser":{"name":"types","email":"ts-npm-types@microsoft.com"},"directories":{},"maintainers":[{"name":"types","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/co-body_6.1.0_1627565533319_0.17071199993352004"},"_hasShrinkwrap":false,"publish_time":1627565533479,"_cnpm_publish_time":1627565533479,"_cnpmcore_publish_time":"2021-12-16T18:32:48.499Z"},"5.1.1":{"name":"@types/co-body","version":"5.1.1","description":"TypeScript definitions for co-body","homepage":"https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/co-body","license":"MIT","contributors":[{"name":"Joshua DeVinney","url":"https://github.com/geoffreak","githubUsername":"geoffreak"}],"main":"","types":"index.d.ts","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/co-body"},"scripts":{},"dependencies":{"@types/node":"*","@types/qs":"*"},"typesPublisherContentHash":"69024dca97ab404e066ecf33fb38380cf72d6b5af8a2dc2c05dc143005408016","typeScriptVersion":"3.6","_id":"@types/co-body@5.1.1","dist":{"shasum":"82fdd9832e6b535aeff85b73af5cc62480b01bc3","size":1881,"noattachment":false,"key":"/@types/co-body/-/@types/co-body-5.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@types/co-body/download/@types/co-body-5.1.1.tgz"},"_npmUser":{"name":"types","email":"ts-npm-types@microsoft.com"},"directories":{},"maintainers":[{"name":"types","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/co-body_5.1.1_1625596127397_0.3104239606994623"},"_hasShrinkwrap":false,"publish_time":1625596127516,"_cnpm_publish_time":1625596127516,"_cnpmcore_publish_time":"2021-12-16T18:32:48.751Z"},"5.1.0":{"name":"@types/co-body","version":"5.1.0","description":"TypeScript definitions for co-body","license":"MIT","contributors":[{"name":"Joshua DeVinney","url":"https://github.com/geoffreak","githubUsername":"geoffreak"}],"main":"","types":"index.d.ts","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/co-body"},"scripts":{},"dependencies":{"@types/node":"*","@types/qs":"*"},"typesPublisherContentHash":"a8aee9a5979aa48babf0c34a1ae98735c1dc1e287e5aa7380cddb4a4a92ba03d","typeScriptVersion":"2.8","_id":"@types/co-body@5.1.0","dist":{"shasum":"69c505dd759d619a8c78b1a88222e63014c9f417","size":1808,"noattachment":false,"key":"/@types/co-body/-/@types/co-body-5.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@types/co-body/download/@types/co-body-5.1.0.tgz"},"maintainers":[{"name":"types","email":""}],"_npmUser":{"name":"types","email":"ts-npm-types@microsoft.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/co-body_5.1.0_1588003773220_0.6477674121951815"},"_hasShrinkwrap":false,"publish_time":1588003773303,"_cnpm_publish_time":1588003773303,"_cnpmcore_publish_time":"2021-12-16T18:32:48.979Z"},"0.0.4":{"name":"@types/co-body","version":"0.0.4","description":"TypeScript definitions for co-body","license":"MIT","contributors":[{"name":"Joshua DeVinney","url":"https://github.com/geoffreak","githubUsername":"geoffreak"}],"main":"","types":"index.d.ts","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/co-body"},"scripts":{},"dependencies":{"@types/node":"*","@types/qs":"*"},"typesPublisherContentHash":"e3ff0dfe23b463b2c3256dbdbd7a70314d264b1e4a52f671fa8484a2901a891e","typeScriptVersion":"2.8","_id":"@types/co-body@0.0.4","dist":{"shasum":"c64ebdb7ff008a3e4ac9b253af1ec2a205393788","size":1808,"noattachment":false,"key":"/@types/co-body/-/@types/co-body-0.0.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/@types/co-body/download/@types/co-body-0.0.4.tgz"},"maintainers":[{"name":"types","email":""}],"_npmUser":{"name":"types","email":"ts-npm-types@microsoft.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/co-body_0.0.4_1588001702082_0.8218457632090985"},"_hasShrinkwrap":false,"publish_time":1588001702273,"_cnpm_publish_time":1588001702273,"_cnpmcore_publish_time":"2021-12-16T18:32:49.178Z"},"0.0.3":{"name":"@types/co-body","version":"0.0.3","description":"TypeScript definitions for co-body","license":"MIT","contributors":[{"name":"Joshua DeVinney","url":"https://github.com/geoffreak","githubUsername":"geoffreak"}],"main":"","repository":{"type":"git","url":"https://www.github.com/DefinitelyTyped/DefinitelyTyped.git"},"scripts":{},"dependencies":{"@types/koa":"*","@types/qs":"*","@types/node":"*"},"typesPublisherContentHash":"389a6878d907364515bdfbdcb688cf9f60cb8c231712f66b286014a6dae87bad","typeScriptVersion":"2.3","_id":"@types/co-body@0.0.3","dist":{"shasum":"cd65c1b986f003fea2d50334c2654fbcd479c741","size":1795,"noattachment":false,"key":"/@types/co-body/-/@types/co-body-0.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/@types/co-body/download/@types/co-body-0.0.3.tgz"},"maintainers":[{"name":"types","email":""}],"_npmUser":{"name":"types","email":"ts-npm-types@microsoft.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/co-body-0.0.3.tgz_1510179421950_0.5910315597429872"},"directories":{},"publish_time":1510179422116,"_hasShrinkwrap":false,"_cnpm_publish_time":1510179422116,"_cnpmcore_publish_time":"2021-12-16T18:32:49.380Z"},"0.0.2":{"name":"@types/co-body","version":"0.0.2","description":"TypeScript definitions for co-body","license":"MIT","contributors":[{"name":"Joshua DeVinney","url":"https://github.com/geoffreak","githubUsername":"geoffreak"}],"main":"","repository":{"type":"git","url":"https://www.github.com/DefinitelyTyped/DefinitelyTyped.git"},"scripts":{},"dependencies":{"@types/koa":"*","@types/qs":"*","@types/node":"*"},"typesPublisherContentHash":"f76079fcd987a558be255bf3e0f92996f5559f9e4612e5b583cb42432e2a7320","typeScriptVersion":"2.0","_id":"@types/co-body@0.0.2","dist":{"shasum":"6aca5465971184655f92327e3901ebbc8b603569","size":1783,"noattachment":false,"key":"/@types/co-body/-/@types/co-body-0.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/@types/co-body/download/@types/co-body-0.0.2.tgz"},"maintainers":[{"name":"types","email":""}],"_npmUser":{"name":"types","email":"ts-npm-types@microsoft.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/co-body-0.0.2.tgz_1507961603423_0.5642567770555615"},"directories":{},"publish_time":1507961603612,"_hasShrinkwrap":false,"_cnpm_publish_time":1507961603612,"_cnpmcore_publish_time":"2021-12-16T18:32:49.587Z"},"0.0.1":{"name":"@types/co-body","version":"0.0.1","description":"TypeScript definitions for co-body","license":"MIT","author":"Joshua DeVinney <https://github.com/geoffreak>","main":"","repository":{"type":"git","url":"https://www.github.com/DefinitelyTyped/DefinitelyTyped.git"},"scripts":{},"dependencies":{"@types/koa":"*","@types/qs":"*","@types/node":"*"},"typings":"index.d.ts","typesPublisherContentHash":"b75cc72ef09ddc3200117b8f03d667f55823378045178ed681ddada7961056b0","_id":"@types/co-body@0.0.1","dist":{"shasum":"ac9e0fd1a7e705e8976d63f2306fd65813cd6925","size":1293,"noattachment":false,"key":"/@types/co-body/-/@types/co-body-0.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@types/co-body/download/@types/co-body-0.0.1.tgz"},"maintainers":[{"name":"types","email":""}],"_npmUser":{"name":"types","email":"ts-npm-types@microsoft.com"},"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/co-body-0.0.1.tgz_1474406135581_0.3042464309837669"},"directories":{},"publish_time":1474406139011,"_hasShrinkwrap":false,"_cnpm_publish_time":1474406139011,"_cnpmcore_publish_time":"2021-12-16T18:32:49.935Z"}},"readme":"# Installation\r\n> `npm install --save @types/co-body`\r\n\r\n# Summary\r\nThis package contains type definitions for co-body (https://github.com/cojs/co-body).\r\n\r\n# Details\r\nFiles were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/co-body.\r\n## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/co-body/index.d.ts)\r\n````ts\r\n/// <reference types=\"node\"/>\n\nimport * as http from \"http\";\nimport * as qs from \"qs\";\n\ndeclare namespace CoBody {\n    type Context = http.IncomingMessage | { req: http.IncomingMessage };\n\n    interface Parse {\n        /**\n         * @async\n         */\n        (context: Context, options?: Options): Promise<any>;\n        /**\n         * @async\n         */\n        text: (context: Context, options?: Options) => Promise<any>;\n        /**\n         * @async\n         */\n        form: (context: Context, options?: Options) => Promise<any>;\n        /**\n         * @async\n         */\n        json: (context: Context, options?: Options) => Promise<any>;\n    }\n\n    interface Options {\n        limit?: number | string | undefined;\n        strict?: boolean | undefined;\n        queryString?: qs.IParseOptions | undefined;\n        jsonTypes?: string[] | undefined;\n        returnRawBody?: boolean | undefined;\n        formTypes?: string[] | undefined;\n        textTypes?: string[] | undefined;\n        encoding?: string | undefined;\n        length?: number | undefined;\n    }\n}\n\ndeclare var CoBody: CoBody.Parse;\nexport = CoBody;\n\r\n````\r\n\r\n### Additional Details\r\n * Last updated: Mon, 06 Nov 2023 22:41:05 GMT\r\n * Dependencies: [@types/node](https://npmjs.com/package/@types/node), [@types/qs](https://npmjs.com/package/@types/qs)\r\n\r\n# Credits\r\nThese definitions were written by [Joshua DeVinney](https://github.com/geoffreak).\r\n","_attachments":{},"homepage":"https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/co-body","license":"MIT"}