{"versions":{"2.2.0":{"name":"@types/centra","version":"2.2.0","description":"TypeScript definitions for centra","license":"MIT","contributors":[{"name":"Tony Wooster","url":"https://github.com/twooster","githubUsername":"twooster"}],"main":"","types":"index","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/centra"},"scripts":{},"dependencies":{"@types/node":"*"},"typesPublisherContentHash":"70799876f76e5df0c92d20ae79d94fb114f450e069f0759803581e172aa0ce10","typeScriptVersion":"2.1","_id":"@types/centra@2.2.0","dist":{"integrity":"sha512-TUpM1QoIgXa2VL1LnWbTgde39+rRnsOtvb0v8ZrX8t51g8K1Wwu4HAEXcBg5a56GV5Vm/KazyE5+g4AW8YbKNg==","shasum":"ceb4d966dcd1c5c53023b3ff322db729cea36524","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@types/centra/-/centra-2.2.0.tgz","fileCount":4,"unpackedSize":4039,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJciq8YCRA9TVsSAnZWagAArzYP/RROsE1/I35OYsm+ymql\nVudWmyKz0NK10IPDX3Lx98wboZv1C/kojEMMhtewBU4u5mK35OShlToNNokp\nJvQ/T88ZYf4TbqPcMMbK1R/tZn+sdMSqNlNMAJTvYMSoIvir7nQYXIMnxux4\nMOKnrwKH2X5Dgq/aJjfuF49WyPtq5fcZAu2LSMtV9M8x1tREfQ8gl04CwDXc\nir7IgaNo+taG0hXF2rrzFRkdzl4gH7Ny/Tt/C3cZcsqMmSHzqIgZMah7bu98\ntc54XwNu4QUXNNVSm/R9as9RvUvViXe5gZFuucUda1neHZCm9K+A/++ZHlxp\ndBfA9FBkQRv3aswGKoTr2ZGpsCjqtc7dGhwZXlXhe8Xd/iqEQ/xw2V9FTsSp\nmv/bQRvBhZZSUUX3ibRO3BEcJ7n+fgvpR02s6J59X4TyyU+pp9K18Rz8h53U\noVHmxwOQZvTWZztb2NShahRgRNHqEzqhe3suVReolh6ayUW2sNAMGOndmdRl\nYGz+RAVkaW4nVbESj7Uzo7Oqym7L2nL6kGialuda1QaC4NoNxkpnSPbNlZcu\nSgGI4FoYi0eC+0FdSW7N4aowon959LAzEiZet+6MObpRUiXkBoTZcG4av3fC\nydhKHpJkbde2yg1NdJO9nLwmLpPI3BPg52TqUdMbkipVW4mSW1jIPcoeyLV1\nCCwj\r\n=k+De\r\n-----END PGP SIGNATURE-----\r\n","size":1984},"maintainers":[{"name":"anonymous","email":"ts-npm-types@microsoft.com"}],"_npmUser":{"name":"anonymous","email":"ts-npm-types@microsoft.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/centra_2.2.0_1552592664005_0.24856501001495146"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-20T11:16:41.625Z"},"2.2.1":{"name":"@types/centra","version":"2.2.1","description":"TypeScript definitions for centra","homepage":"https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/centra","license":"MIT","contributors":[{"name":"Tony Wooster","url":"https://github.com/twooster","githubUsername":"twooster"}],"main":"","types":"index.d.ts","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/centra"},"scripts":{},"dependencies":{"@types/node":"*"},"typesPublisherContentHash":"c011978dd82e020300b7e51535f4328c059266b9f02f0ded50857606a59b183d","typeScriptVersion":"4.3","_id":"@types/centra@2.2.1","dist":{"integrity":"sha512-NYCSBrE6+T8LKSAdQPG8XUp69cG/21Fj1DatW6/tIK8hwRJN862tMJqlOihCuTNUletbPmMAE69hSRPwT1kKyw==","shasum":"ff0a489aac88d58ffbfb6836458eb5f2ecbe5b95","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@types/centra/-/centra-2.2.1.tgz","fileCount":5,"unpackedSize":5916,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEAeNdG3DYL93UBjr9i9/c3370rPZe0nzASsqOklGiJeAiEAxQDc78JzElunPQYrqRTc1mhK/NtzRaVJ1UnHfHmkL4E="}],"size":2109},"_npmUser":{"name":"anonymous","email":"ts-npm-types@microsoft.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"ts-npm-types@microsoft.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/centra_2.2.1_1693842597228_0.6324569395665107"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-09-04T15:49:57.429Z","publish_time":1693842597429,"_source_registry_name":"default"},"2.2.2":{"name":"@types/centra","version":"2.2.2","description":"TypeScript definitions for centra","homepage":"https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/centra","license":"MIT","contributors":[{"name":"Tony Wooster","githubUsername":"twooster","url":"https://github.com/twooster"}],"main":"","types":"index.d.ts","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/centra"},"scripts":{},"dependencies":{"@types/node":"*"},"typesPublisherContentHash":"a6cea0a6a0fead3b6c38b6396460f9f4855bc417941d89e6704dd0d6a0ab9c91","typeScriptVersion":"4.5","_id":"@types/centra@2.2.2","dist":{"integrity":"sha512-uG/mghYpP72r0a0TBk3mWQGin0gC5n3NBsCNtZSMSNj1SzcIxd+UDqVTZyELhltXnYGU+KM1NPUXyvNGg67XOQ==","shasum":"bfd3532df19bd82ee0034755b5161c05080cd831","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@types/centra/-/centra-2.2.2.tgz","fileCount":5,"unpackedSize":5414,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDk6P1EyU4iRyiPb3JcqhFrTl+ZZBHKVIMvHMo1+lZNPAiAfYmgGPPDiHRVUVoYH56LEl1hx/dBJ/2MCUf/nL/hpfA=="}],"size":2044},"_npmUser":{"name":"anonymous","email":"ts-npm-types@microsoft.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"ts-npm-types@microsoft.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/centra_2.2.2_1697585934987_0.19336799992011167"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-10-17T23:38:55.170Z","publish_time":1697585935170,"_source_registry_name":"default"},"2.2.3":{"name":"@types/centra","version":"2.2.3","description":"TypeScript definitions for centra","homepage":"https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/centra","license":"MIT","contributors":[{"name":"Tony Wooster","githubUsername":"twooster","url":"https://github.com/twooster"}],"main":"","types":"index.d.ts","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/centra"},"scripts":{},"dependencies":{"@types/node":"*"},"typesPublisherContentHash":"80265143ee9041b88adcad7545f5cab776327f59386f7cc3f2b794572205e679","typeScriptVersion":"4.5","_id":"@types/centra@2.2.3","dist":{"integrity":"sha512-7ylrBi66/xZuQ4nuNuXnk5RUBQcLUgMdAqls44buCssA2goua9YuqbY8cCpMTWX+U+Y5e9JDwWAaiBEN4ehMOw==","shasum":"e59813e39d8124c2aa8f8d21cb191973c14f112d","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@types/centra/-/centra-2.2.3.tgz","fileCount":5,"unpackedSize":5414,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBH8KhK7Zw6ig1vgZl7YUpciKJgbPxfz162IIFhxE1CmAiEA6hysHIu7PJDVLdzEFBSpQwD9xbpBLDr17ExDHDbKHUE="}],"size":2046},"_npmUser":{"name":"anonymous","email":"ts-npm-types@microsoft.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"ts-npm-types@microsoft.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/centra_2.2.3_1699316576848_0.5499833088696688"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-11-07T00:22:57.052Z","publish_time":1699316577052,"_source_registry_name":"default"}},"dist-tags":{"latest":"2.2.3","ts2.1":"2.2.0","ts2.2":"2.2.0","ts2.3":"2.2.0","ts2.4":"2.2.0","ts2.5":"2.2.0","ts2.6":"2.2.0","ts2.7":"2.2.0","ts2.8":"2.2.0","ts2.9":"2.2.0","ts3.0":"2.2.0","ts3.1":"2.2.0","ts3.2":"2.2.0","ts3.3":"2.2.0","ts3.4":"2.2.0","ts3.5":"2.2.0","ts3.6":"2.2.0","ts3.7":"2.2.0","ts3.8":"2.2.0","ts3.9":"2.2.0","ts4.0":"2.2.0","ts4.1":"2.2.0","ts4.2":"2.2.0","ts4.3":"2.2.1","ts4.4":"2.2.1","ts4.5":"2.2.3","ts4.6":"2.2.3","ts4.7":"2.2.3","ts4.8":"2.2.3","ts4.9":"2.2.3","ts5.0":"2.2.3","ts5.1":"2.2.3","ts5.2":"2.2.3","ts5.3":"2.2.3","ts5.4":"2.2.3","ts5.5":"2.2.3","ts5.6":"2.2.3","ts5.7":"2.2.3","ts5.8":"2.2.3","ts5.9":"2.2.3","ts6.0":"2.2.3"},"name":"@types/centra","time":{"created":"2022-01-27T21:31:27.881Z","modified":"2025-08-03T06:30:15.676Z","2.2.0":"2019-03-14T19:44:24.089Z","2.2.1":"2023-09-04T15:49:57.429Z","2.2.2":"2023-10-17T23:38:55.170Z","2.2.3":"2023-11-07T00:22:57.052Z"},"readme":"# Installation\r\n> `npm install --save @types/centra`\r\n\r\n# Summary\r\nThis package contains type definitions for centra (https://github.com/ethanent/centra).\r\n\r\n# Details\r\nFiles were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/centra.\r\n## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/centra/index.d.ts)\r\n````ts\r\n/// <reference types=\"node\" />\n\nimport { IncomingMessage, RequestOptions } from \"http\";\nimport { URL } from \"url\";\n\ninterface CentraFactory {\n    (url: URL | string, method?: string): Centra.Request;\n}\n\ndeclare const Centra: CentraFactory;\n\ndeclare namespace Centra {\n    interface Response {\n        coreRes: IncomingMessage;\n        headers: IncomingMessage[\"headers\"];\n        statusCode: IncomingMessage[\"statusCode\"];\n        body: Buffer;\n\n        json(): Promise<any>;\n        text(): Promise<string>;\n    }\n\n    interface Request {\n        url: URL;\n        method: string;\n        data: string | Buffer | null;\n        sendDataAs: \"form\" | \"json\" | \"buffer\" | null;\n        reqHeaders: { [k: string]: string };\n        streamEnabled: boolean;\n        compressionEnabled: boolean;\n        timeoutTime: number | null;\n        coreOptions: RequestOptions;\n\n        query(key: string, value: any): this;\n        query(params: { [k: string]: any }): this;\n        path(relativePath: string): this;\n        body(data: any, sendAs?: \"json\" | \"buffer\" | \"form\"): this;\n        header(key: string, value: string): this;\n        header(headers: { [k: string]: string }): this;\n        timeout(timeMs: number): this;\n        option<T extends keyof RequestOptions>(key: T, value: RequestOptions[T]): this;\n        stream(): this;\n        compress(): this;\n        send(): Promise<Response>;\n    }\n}\n\nexport = Centra;\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)\r\n\r\n# Credits\r\nThese definitions were written by [Tony Wooster](https://github.com/twooster).","users":{}}