{"_id":"@types/localtunnel","_rev":"2931207","name":"@types/localtunnel","description":"TypeScript definitions for localtunnel","dist-tags":{"latest":"2.0.1","ts2.0":"1.9.0","ts2.1":"1.9.0","ts2.2":"1.9.0","ts2.3":"1.9.0","ts2.4":"1.9.0","ts2.5":"1.9.0","ts2.6":"1.9.0","ts2.7":"1.9.0","ts2.8":"2.0.0","ts2.9":"2.0.0","ts3.0":"2.0.0","ts3.1":"2.0.0","ts3.2":"2.0.0","ts3.3":"2.0.0","ts3.4":"2.0.0","ts3.5":"2.0.0","ts3.6":"2.0.1","ts3.7":"2.0.1","ts3.8":"2.0.1","ts3.9":"2.0.1","ts4.0":"2.0.1","ts4.1":"2.0.1","ts4.2":"2.0.1","ts4.3":"2.0.1","ts4.4":"2.0.1","ts4.5":"2.0.1","ts4.6":"2.0.1","ts4.7":"2.0.1","ts4.8":"2.0.1","ts4.9":"2.0.1","ts5.0":"2.0.1","ts5.1":"2.0.1"},"maintainers":[{"name":"npm:types","email":""},{"name":"types","email":""}],"time":{"modified":"2023-03-14T06:28:28.000Z","created":"2019-04-11T21:51:43.516Z","2.0.1":"2021-07-08T17:42:21.749Z","2.0.0":"2020-02-25T20:34:13.879Z","1.9.0":"2019-04-11T21:51:43.516Z"},"users":{},"repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/localtunnel"},"versions":{"2.0.1":{"name":"@types/localtunnel","version":"2.0.1","description":"TypeScript definitions for localtunnel","homepage":"https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/localtunnel","license":"MIT","contributors":[{"name":"Vladyslav Khrapov","url":"https://github.com/vladhrapov","githubUsername":"vladhrapov"},{"name":"Noam Alffasy","url":"https://github.com/noamalffasy","githubUsername":"noamalffasy"}],"main":"","types":"index.d.ts","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/localtunnel"},"scripts":{},"dependencies":{"@types/node":"*"},"typesPublisherContentHash":"fe5eabdb288dc6c1e0d3e1d2b0f4f38230c0f25310a4fec4c05a83b9e1d42ad4","typeScriptVersion":"3.6","_id":"@types/localtunnel@2.0.1","dist":{"shasum":"c28a067de1da81b0b4730a9fc2f98e067f973996","size":1964,"noattachment":false,"key":"/@types/localtunnel/-/@types/localtunnel-2.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@types/localtunnel/download/@types/localtunnel-2.0.1.tgz"},"_npmUser":{"name":"types","email":"ts-npm-types@microsoft.com"},"directories":{},"maintainers":[{"name":"npm:types","email":""},{"name":"types","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/localtunnel_2.0.1_1625766141623_0.5328445530020234"},"_hasShrinkwrap":false,"publish_time":1625766141749,"_cnpm_publish_time":1625766141749,"_cnpmcore_publish_time":"2021-12-16T23:58:51.429Z"},"2.0.0":{"name":"@types/localtunnel","version":"2.0.0","description":"TypeScript definitions for localtunnel","license":"MIT","contributors":[{"name":"Vladyslav Khrapov","url":"https://github.com/vladhrapov","githubUsername":"vladhrapov"},{"name":"Noam Alffasy","url":"https://github.com/noamalffasy","githubUsername":"noamalffasy"}],"main":"","types":"index.d.ts","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/localtunnel"},"scripts":{},"dependencies":{"@types/node":"*"},"typesPublisherContentHash":"3f1995178c4442ebb8b28cdbeaf793b0048a44f9be0914c8e2ad9403fb2ad926","typeScriptVersion":"2.8","_id":"@types/localtunnel@2.0.0","dist":{"shasum":"60a202af96ded9a310a4e6a072975ac2d78ac69b","size":1902,"noattachment":false,"key":"/@types/localtunnel/-/@types/localtunnel-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@types/localtunnel/download/@types/localtunnel-2.0.0.tgz"},"maintainers":[{"name":"npm:types","email":""},{"name":"types","email":""}],"_npmUser":{"name":"types","email":"ts-npm-types@microsoft.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/localtunnel_2.0.0_1582662853787_0.9155995205108716"},"_hasShrinkwrap":false,"publish_time":1582662853879,"_cnpm_publish_time":1582662853879,"_cnpmcore_publish_time":"2021-12-16T23:58:51.633Z"},"1.9.0":{"name":"@types/localtunnel","version":"1.9.0","description":"TypeScript definitions for localtunnel","license":"MIT","contributors":[{"name":"Vladyslav Khrapov","url":"https://github.com/vladhrapov","githubUsername":"vladhrapov"}],"main":"","types":"index","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/localtunnel"},"scripts":{},"dependencies":{},"typesPublisherContentHash":"4d659e5d5d10e42318382e26fe638970ba199ebe9f4420518058bf24e5175b9f","typeScriptVersion":"2.0","_id":"@types/localtunnel@1.9.0","dist":{"shasum":"e80162d723fb4d26cb5253e896f6e3e968c3f83d","size":1666,"noattachment":false,"key":"/@types/localtunnel/-/@types/localtunnel-1.9.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@types/localtunnel/download/@types/localtunnel-1.9.0.tgz"},"maintainers":[{"name":"npm:types","email":""},{"name":"types","email":""}],"_npmUser":{"name":"types","email":"ts-npm-types@microsoft.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/localtunnel_1.9.0_1555019503282_0.25334714761267785"},"_hasShrinkwrap":false,"publish_time":1555019503516,"_cnpm_publish_time":1555019503516,"_cnpmcore_publish_time":"2021-12-16T23:58:51.846Z"}},"readme":"# Installation\r\n> `npm install --save @types/localtunnel`\r\n\r\n# Summary\r\nThis package contains type definitions for localtunnel (https://github.com/localtunnel/localtunnel).\r\n\r\n# Details\r\nFiles were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/localtunnel.\r\n## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/localtunnel/index.d.ts)\r\n````ts\r\n// Type definitions for localtunnel 2.0\n// Project: https://github.com/localtunnel/localtunnel\n// Definitions by: Vladyslav Khrapov <https://github.com/vladhrapov>\n//                 Noam Alffasy <https://github.com/noamalffasy>\n// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped\n\n/// <reference types=\"node\" />\n\nimport { EventEmitter } from \"events\";\n\nexport = localtunnel;\n\ndeclare function localtunnel(\n    port: number | localtunnel.TunnelConfig & { port: number }\n): Promise<localtunnel.Tunnel>;\n\ndeclare function localtunnel(\n    opts: localtunnel.TunnelConfig & { port: number },\n    callback: localtunnel.TunnelCallback,\n): localtunnel.Tunnel;\n\ndeclare function localtunnel(\n    port: number,\n    opts: localtunnel.TunnelConfig\n): Promise<localtunnel.Tunnel>;\n\ndeclare function localtunnel(\n    port: number,\n    opts: localtunnel.TunnelConfig,\n    callback: localtunnel.TunnelCallback,\n): localtunnel.Tunnel;\n\ndeclare namespace localtunnel {\n    type TunnelCallback = (\n        err?: string,\n        tunnel?: Tunnel\n    ) => void;\n\n    interface TunnelConfig {\n        subdomain?: string | undefined;\n        host?: string | undefined;\n        local_host?: string | undefined;\n        local_https?: boolean | undefined;\n        local_cert?: string | undefined;\n        local_key?: string | undefined;\n        local_ca?: string | undefined;\n        allow_invalid_cert?: boolean | undefined;\n    }\n\n    interface Tunnel extends EventEmitter {\n        url: string;\n        tunnelCluster: TunnelCluster;\n        open(cb: ((err: string) => void) | (() => void)): void;\n        close(): void;\n    }\n\n    interface TunnelCluster extends EventEmitter {\n        open(): void;\n    }\n}\n\r\n````\r\n\r\n### Additional Details\r\n * Last updated: Thu, 08 Jul 2021 16:23:48 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 [Vladyslav Khrapov](https://github.com/vladhrapov), and [Noam Alffasy](https://github.com/noamalffasy).\r\n","_attachments":{},"homepage":"https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/localtunnel","license":"MIT"}