{"_id":"@types/agent-base","_rev":"380707","name":"@types/agent-base","description":"TypeScript definitions for agent-base","dist-tags":{"latest":"4.2.2","ts2.0":"4.2.0","ts2.1":"4.2.0","ts2.2":"4.2.0","ts2.3":"4.2.0","ts2.4":"4.2.0","ts2.5":"4.2.0","ts2.6":"4.2.0","ts2.7":"4.2.0","ts2.8":"4.2.0","ts2.9":"4.2.0","ts3.0":"4.2.1","ts3.1":"4.2.1","ts3.2":"4.2.1","ts3.3":"4.2.1","ts3.4":"4.2.1","ts3.5":"4.2.1","ts3.6":"4.2.2","ts3.7":"4.2.2","ts3.8":"4.2.2","ts3.9":"4.2.2","ts4.0":"4.2.2","ts4.1":"4.2.2","ts4.2":"4.2.2","ts4.3":"4.2.2","ts4.4":"4.2.2","ts4.5":"4.2.2","ts4.6":"4.2.2"},"maintainers":[{"name":"types","email":""}],"time":{"modified":"2021-11-18T19:41:09.000Z","created":"2018-08-02T01:35:16.631Z","4.2.2":"2021-07-06T18:07:56.011Z","4.2.1":"2020-05-15T04:15:35.989Z","4.2.0":"2018-08-02T01:35:16.631Z"},"users":{},"repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/agent-base"},"versions":{"4.2.2":{"name":"@types/agent-base","version":"4.2.2","description":"TypeScript definitions for agent-base","homepage":"https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/agent-base","license":"MIT","contributors":[{"name":"Christopher Quadflieg","url":"https://github.com/Shinigami92","githubUsername":"Shinigami92"}],"main":"","types":"index.d.ts","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/agent-base"},"scripts":{},"dependencies":{"@types/node":"*"},"typesPublisherContentHash":"f7c1c8e886d0ae16f561ff9f823b92b18b79833b370943976a8912e51fb299b0","typeScriptVersion":"3.6","_id":"@types/agent-base@4.2.2","dist":{"shasum":"864d43e15bdaadd222baab0534d9f504c50ee695","size":1953,"noattachment":false,"key":"/@types/agent-base/-/@types/agent-base-4.2.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/@types/agent-base/download/@types/agent-base-4.2.2.tgz"},"_npmUser":{"name":"types","email":"ts-npm-types@microsoft.com"},"directories":{},"maintainers":[{"name":"types","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/agent-base_4.2.2_1625594875884_0.7827735055269178"},"_hasShrinkwrap":false,"publish_time":1625594876011,"_cnpm_publish_time":1625594876011},"4.2.1":{"name":"@types/agent-base","version":"4.2.1","description":"TypeScript definitions for agent-base","license":"MIT","contributors":[{"name":"Christopher Quadflieg","url":"https://github.com/Shinigami92","githubUsername":"Shinigami92"}],"main":"","types":"index.d.ts","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/agent-base"},"scripts":{},"dependencies":{"@types/node":"*"},"typesPublisherContentHash":"d93f05b1fe3a073da02e8e85d85df962e7cd4a2b903b60a77b33704f4accf706","typeScriptVersion":"3.0","_id":"@types/agent-base@4.2.1","dist":{"shasum":"e5b3b735d26af093843c1a5616ea923808e93a1c","size":1880,"noattachment":false,"key":"/@types/agent-base/-/@types/agent-base-4.2.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@types/agent-base/download/@types/agent-base-4.2.1.tgz"},"maintainers":[{"name":"types","email":""}],"_npmUser":{"name":"types","email":"ts-npm-types@microsoft.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/agent-base_4.2.1_1589516135836_0.2305563910148567"},"_hasShrinkwrap":false,"publish_time":1589516135989,"_cnpm_publish_time":1589516135989},"4.2.0":{"name":"@types/agent-base","version":"4.2.0","description":"TypeScript definitions for agent-base","license":"MIT","contributors":[{"name":"Christopher Quadflieg","url":"https://github.com/Shinigami92","githubUsername":"Shinigami92"}],"main":"","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git"},"scripts":{},"dependencies":{"@types/events":"*","@types/node":"*"},"typesPublisherContentHash":"27d40a9ec3b0c7ad6d7b898e03adca3bfeecaae867fd83292a875d59d2eab545","typeScriptVersion":"2.0","_id":"@types/agent-base@4.2.0","dist":{"shasum":"00644e8b395b40e1bf50aaf1d22cabc1200d5051","size":1871,"noattachment":false,"key":"/@types/agent-base/-/@types/agent-base-4.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@types/agent-base/download/@types/agent-base-4.2.0.tgz"},"maintainers":[{"name":"types","email":""}],"_npmUser":{"name":"types","email":"ts-npm-types@microsoft.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/agent-base_4.2.0_1533173716531_0.7398111181813061"},"_hasShrinkwrap":false,"publish_time":1533173716631,"_cnpm_publish_time":1533173716631}},"readme":"# Installation\r\n> `npm install --save @types/agent-base`\r\n\r\n# Summary\r\nThis package contains type definitions for agent-base (https://github.com/TooTallNate/node-agent-base#readme).\r\n\r\n# Details\r\nFiles were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/agent-base.\r\n## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/agent-base/index.d.ts)\r\n````ts\r\n// Type definitions for agent-base 4.2\n// Project: https://github.com/TooTallNate/node-agent-base#readme\n// Definitions by: Christopher Quadflieg <https://github.com/Shinigami92>\n// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped\n\n/// <reference types=\"node\" />\nimport { EventEmitter } from 'events';\n\ndeclare namespace Agent {\n    type AgentCallback = (\n        req?: any,\n        opts?: {\n            secureEndpoint: boolean;\n        }\n    ) => void;\n\n    interface AgentOptions {\n        timeout?: number | undefined;\n        host?: string | undefined;\n        port?: number | undefined;\n        [key: string]: any;\n    }\n\n    interface Agent extends EventEmitter {\n        _promisifiedCallback: boolean;\n        timeout: number | null;\n        options?: AgentOptions | undefined;\n        callback: AgentCallback;\n        addRequest: (req?: any, opts?: any) => void;\n        freeSocket: (socket: any, opts: any) => void;\n    }\n}\n\n/**\n * Base `http.Agent` implementation.\n * No pooling/keep-alive is implemented by default.\n */\ndeclare function Agent(opts?: Agent.AgentOptions): Agent.Agent;\ndeclare function Agent(\n    callback: Agent.AgentCallback,\n    opts?: Agent.AgentOptions\n): Agent.Agent;\n\nexport = Agent;\n\r\n````\r\n\r\n### Additional Details\r\n * Last updated: Tue, 06 Jul 2021 18:05:31 GMT\r\n * Dependencies: [@types/node](https://npmjs.com/package/@types/node)\r\n * Global values: none\r\n\r\n# Credits\r\nThese definitions were written by [Christopher Quadflieg](https://github.com/Shinigami92).\r\n","_attachments":{},"homepage":"https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/agent-base","license":"MIT"}