{"_id":"untun","_rev":"4-34cdbaf64cd79cbe1ad181f7f0985df6","name":"untun","dist-tags":{"latest":"0.1.3"},"versions":{"0.0.0":{"name":"untun","version":"0.0.0","_id":"untun@0.0.0","_integrity":"sha512-8iEnCCwCBBZSdgUgzJnB/ammvOe9UWKUSd2y5XrjM3D2LhV84rP7ecYnbRGrZJlewIfpWuCEzrBCHAhLeUr7Wg==","_resolved":"/private/var/folders/s0/k4lcb4b50bj9r4fch4_1h_l40000gn/T/08d18ee8bd73fbef48cff6a9fd3be0d5/untun-0.0.0.tgz","_from":"file:untun-0.0.0.tgz","_nodeVersion":"18.16.0","_npmVersion":"9.5.1","dist":{"integrity":"sha512-8iEnCCwCBBZSdgUgzJnB/ammvOe9UWKUSd2y5XrjM3D2LhV84rP7ecYnbRGrZJlewIfpWuCEzrBCHAhLeUr7Wg==","shasum":"2f5712f786d643a40520496830dca7a81a5732d2","tarball":"https://registry.npmjs.org/untun/-/untun-0.0.0.tgz","fileCount":1,"unpackedSize":43,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGJHe64xCfV16u1xHNpXGPDMUCnM8dvJWMp0+odVLhjgAiB/8FRGdclIKhxiyNbW7Wm+wIJ+f09MJVFHDz2GbKxQzA=="}]},"_npmUser":{"name":"pi0","email":"pyapar@gmail.com"},"directories":{},"maintainers":[{"name":"pi0","email":"pyapar@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/untun_0.0.0_1691917680653_0.9825587745630628"},"_hasShrinkwrap":false},"0.1.0":{"name":"untun","version":"0.1.0","description":"Tunnel your local HTTP(s) server to the world! Powered by Cloudflare Quick Tunnels","repository":{"type":"git","url":"git+https://github.com/unjs/untun.git"},"license":"MIT","sideEffects":false,"type":"module","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.cjs"},"./cli":{"types":"./dist/cli.d.ts","import":"./dist/cli.mjs","require":"./dist/cli.cjs"}},"main":"./dist/index.cjs","module":"./dist/index.mjs","types":"./dist/index.d.ts","dependencies":{"citty":"^0.1.2","consola":"^3.2.3","pathe":"^1.1.1"},"devDependencies":{"@types/node":"^20.4.10","@vitest/coverage-v8":"^0.34.1","changelogen":"^0.5.4","eslint":"^8.47.0","eslint-config-unjs":"^0.2.1","jiti":"^1.19.1","prettier":"^3.0.1","typescript":"^5.1.6","unbuild":"^1.2.1","vitest":"^0.34.1"},"packageManager":"pnpm@8.6.12","scripts":{"build":"unbuild","dev":"vitest dev","lint":"eslint --cache --ext .ts,.js,.mjs,.cjs . && prettier -c src test","lint:fix":"eslint --cache --ext .ts,.js,.mjs,.cjs . --fix && prettier -c src test -w","release":"pnpm test && changelogen --release && npm publish && git push --follow-tags","typecheck":"tsc --noEmit","test":"pnpm lint &&pnpm typecheck && vitest run --coverage","untun":"jiti ./scripts/untun.mjs"},"bugs":{"url":"https://github.com/unjs/untun/issues"},"homepage":"https://github.com/unjs/untun#readme","_id":"untun@0.1.0","_integrity":"sha512-yRWQuBqVFItrwNQcMlE/2f3naiRpUhTX7+lqaq69eSxK3luB8ifSwfUHtPq1FVxiz9HhvjRWyCIfmERupFhsMw==","_resolved":"/private/var/folders/s0/k4lcb4b50bj9r4fch4_1h_l40000gn/T/4710ff183707828b3e2085f4da5069f6/untun-0.1.0.tgz","_from":"file:untun-0.1.0.tgz","_nodeVersion":"18.16.0","_npmVersion":"9.5.1","dist":{"integrity":"sha512-yRWQuBqVFItrwNQcMlE/2f3naiRpUhTX7+lqaq69eSxK3luB8ifSwfUHtPq1FVxiz9HhvjRWyCIfmERupFhsMw==","shasum":"fd8cbbd3da681a9fd84992d119b2f988397fe646","tarball":"https://registry.npmjs.org/untun/-/untun-0.1.0.tgz","fileCount":13,"unpackedSize":28802,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFH+5BcdHORR3TYgSxbiri2ct6AT1LeUGkJzLJPcVHQ2AiEAwa+O3Kbni2/ViX7xUxF7zRv4SbHQ46/ImQWpiOGd5CY="}]},"_npmUser":{"name":"pi0","email":"pyapar@gmail.com"},"directories":{},"maintainers":[{"name":"pi0","email":"pyapar@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/untun_0.1.0_1691950101988_0.0440176153002092"},"_hasShrinkwrap":false},"0.1.1":{"name":"untun","version":"0.1.1","description":"Tunnel your local HTTP(s) server to the world! Powered by Cloudflare Quick Tunnels.","repository":{"type":"git","url":"git+https://github.com/unjs/untun.git"},"license":"MIT","sideEffects":false,"type":"module","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.cjs"},"./cli":{"types":"./dist/cli.d.ts","import":"./dist/cli.mjs","require":"./dist/cli.cjs"}},"main":"./dist/index.cjs","module":"./dist/index.mjs","types":"./dist/index.d.ts","bin":{"untun":"bin/untun.mjs"},"scripts":{"build":"unbuild","dev":"vitest dev","lint":"eslint --cache --ext .ts,.js,.mjs,.cjs . && prettier -c src test","lint:fix":"eslint --cache --ext .ts,.js,.mjs,.cjs . --fix && prettier -c src test -w","prepack":"pnpm run build","release":"pnpm test && changelogen --release && npm publish && git push --follow-tags","typecheck":"tsc --noEmit","test":"pnpm lint &&pnpm typecheck && vitest run --coverage","untun":"jiti ./scripts/untun.mjs"},"dependencies":{"citty":"^0.1.2","consola":"^3.2.3","pathe":"^1.1.1"},"devDependencies":{"@types/node":"^20.4.10","@vitest/coverage-v8":"^0.34.1","changelogen":"^0.5.4","eslint":"^8.47.0","eslint-config-unjs":"^0.2.1","jiti":"^1.19.1","prettier":"^3.0.1","typescript":"^5.1.6","unbuild":"^2.0.0-rc.0","vitest":"^0.34.1"},"packageManager":"pnpm@8.6.12","gitHead":"9e6ad001178fa9da2dfa08c6d9242a71696730e1","bugs":{"url":"https://github.com/unjs/untun/issues"},"homepage":"https://github.com/unjs/untun#readme","_id":"untun@0.1.1","_nodeVersion":"18.16.0","_npmVersion":"9.5.1","dist":{"integrity":"sha512-Xyo/3TLi2pMLr8SFSXAHVTEpEtVrqXZTzXkZAglRIairiO+utD6y7bCemYejj7GazEwomMwpNB1Gg3hoehY+zA==","shasum":"9e1aa425eb9586bcd858c5d2397eac5868685eaa","tarball":"https://registry.npmjs.org/untun/-/untun-0.1.1.tgz","fileCount":16,"unpackedSize":29149,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC2JHD1JICIOBiZo9DBsH2Oyh/PXGQATAJMNDbXh8YsyAIhANsGm7mSql8JqS4R7qLUJ5YErN3WlQQuRiqzqYkXhNiA"}]},"_npmUser":{"name":"pi0","email":"pyapar@gmail.com"},"directories":{},"maintainers":[{"name":"pi0","email":"pyapar@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/untun_0.1.1_1691951395230_0.554209410327906"},"_hasShrinkwrap":false},"0.1.2":{"name":"untun","version":"0.1.2","description":"Tunnel your local HTTP(s) server to the world! Powered by Cloudflare Quick Tunnels.","repository":{"type":"git","url":"git+https://github.com/unjs/untun.git"},"license":"MIT","sideEffects":false,"type":"module","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.cjs"},"./cli":{"types":"./dist/cli.d.ts","import":"./dist/cli.mjs","require":"./dist/cli.cjs"}},"main":"./dist/index.cjs","module":"./dist/index.mjs","types":"./dist/index.d.ts","bin":{"untun":"bin/untun.mjs"},"scripts":{"build":"unbuild","dev":"vitest dev","lint":"eslint --cache --ext .ts,.js,.mjs,.cjs . && prettier -c src test","lint:fix":"eslint --cache --ext .ts,.js,.mjs,.cjs . --fix && prettier -c src test -w","prepack":"pnpm run build","release":"pnpm test && changelogen --release && npm publish && git push --follow-tags","typecheck":"tsc --noEmit","test":"pnpm lint &&pnpm typecheck && vitest run --coverage","untun":"jiti ./scripts/untun.mjs"},"dependencies":{"citty":"^0.1.3","consola":"^3.2.3","pathe":"^1.1.1"},"devDependencies":{"@types/node":"^20.5.6","@vitest/coverage-v8":"^0.34.3","changelogen":"^0.5.5","eslint":"^8.48.0","eslint-config-unjs":"^0.2.1","jiti":"^1.19.3","prettier":"^3.0.2","typescript":"^5.2.2","unbuild":"^2.0.0","vitest":"^0.34.3"},"packageManager":"pnpm@8.6.12","gitHead":"73ab2cafd7424a12ca5177dfc6943b7af1ee3546","bugs":{"url":"https://github.com/unjs/untun/issues"},"homepage":"https://github.com/unjs/untun#readme","_id":"untun@0.1.2","_nodeVersion":"18.16.0","_npmVersion":"9.5.1","dist":{"integrity":"sha512-wLAMWvxfqyTiBODA1lg3IXHQtjggYLeTK7RnSfqtOXixWJ3bAa2kK/HHmOOg19upteqO3muLvN6O/icbyQY33Q==","shasum":"fa42a62ae24c1c5c6f3209692a2b0e1f573f1353","tarball":"https://registry.npmjs.org/untun/-/untun-0.1.2.tgz","fileCount":16,"unpackedSize":29163,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEMCIH2KD30biWg4WGmF9HVUuThwJrbvKUpWm2jfiFP2UZQmAh9Qom79Ez/XutewVpX8FIiLpywtYvYdb47jg5XtYCwy"}]},"_npmUser":{"name":"pi0","email":"pyapar@gmail.com"},"directories":{},"maintainers":[{"name":"pi0","email":"pyapar@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/untun_0.1.2_1692999444276_0.310763139364963"},"_hasShrinkwrap":false},"0.1.3":{"name":"untun","version":"0.1.3","description":"Tunnel your local HTTP(s) server to the world! Powered by Cloudflare Quick Tunnels.","repository":{"type":"git","url":"git+https://github.com/unjs/untun.git"},"license":"MIT","sideEffects":false,"type":"module","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.cjs"},"./cli":{"types":"./dist/cli.d.ts","import":"./dist/cli.mjs","require":"./dist/cli.cjs"}},"main":"./dist/index.cjs","module":"./dist/index.mjs","types":"./dist/index.d.ts","bin":{"untun":"bin/untun.mjs"},"scripts":{"build":"unbuild","dev":"vitest dev","lint":"eslint --cache --ext .ts,.js,.mjs,.cjs . && prettier -c src test","lint:fix":"eslint --cache --ext .ts,.js,.mjs,.cjs . --fix && prettier -c src test -w","prepack":"pnpm run build","release":"pnpm test && changelogen --release && npm publish && git push --follow-tags","typecheck":"tsc --noEmit","test":"pnpm lint &&pnpm typecheck && vitest run --coverage","untun":"jiti ./scripts/untun.mjs"},"dependencies":{"citty":"^0.1.5","consola":"^3.2.3","pathe":"^1.1.1"},"devDependencies":{"@types/node":"^20.10.4","@vitest/coverage-v8":"^1.0.4","changelogen":"^0.5.5","eslint":"^8.55.0","eslint-config-unjs":"^0.2.1","jiti":"^1.21.0","prettier":"^3.1.1","typescript":"^5.3.3","unbuild":"^2.0.0","vitest":"^1.0.4"},"packageManager":"pnpm@8.11.0","_id":"untun@0.1.3","gitHead":"10fc006814693ad437c239f3145cea8b83ca8107","bugs":{"url":"https://github.com/unjs/untun/issues"},"homepage":"https://github.com/unjs/untun#readme","_nodeVersion":"20.10.0","_npmVersion":"10.2.3","dist":{"integrity":"sha512-4luGP9LMYszMRZwsvyUd9MrxgEGZdZuZgpVQHEEX0lCYFESasVRvZd0EYpCkOIbJKHMuv0LskpXc/8Un+MJzEQ==","shasum":"5d10dee37a3a5737ff03d158be877dae0a0e58a6","tarball":"https://registry.npmjs.org/untun/-/untun-0.1.3.tgz","fileCount":16,"unpackedSize":29574,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCKBLuVr98wLzoMjYVIn6pEZsw6+bDMzP/h7XWMsdorzwIhALxFq2I7a//cukIS+lg/Q/KyCvfH9GwGmn+MNLF5rKmd"}]},"_npmUser":{"name":"pi0","email":"pyapar@gmail.com"},"directories":{},"maintainers":[{"name":"pi0","email":"pyapar@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/untun_0.1.3_1702592247285_0.07810547842432802"},"_hasShrinkwrap":false}},"time":{"created":"2023-08-13T09:08:00.653Z","0.0.0":"2023-08-13T09:08:00.785Z","modified":"2023-12-14T22:17:27.833Z","0.1.0":"2023-08-13T18:08:22.178Z","0.1.1":"2023-08-13T18:29:55.404Z","0.1.2":"2023-08-25T21:37:24.475Z","0.1.3":"2023-12-14T22:17:27.648Z"},"maintainers":[{"name":"pi0","email":"pyapar@gmail.com"}],"readme":"# šŸš‡ untun\n\n[![npm version][npm-version-src]][npm-version-href]\n[![npm downloads][npm-downloads-src]][npm-downloads-href]\n[![bundle][bundle-src]][bundle-href]\n\n[![License][license-src]][license-href]\n\nTunnel your local HTTP(s) server to the world!\n\nPowered by šŸ”„ [Cloudflare Quick Tunnels](https://developers.cloudflare.com/cloudflare-one/connections/connect-networks/do-more-with-tunnels/trycloudflare/) and used by šŸ‘‚ [unjs/listhen](https://github.com/unjs/listhen).\n\n## Usage (CLI)\n\nGlobally run tunnel with `npx`:\n\n```sh\nnpx untun@latest tunnel http://localhost:3000\n```\n\n```\n◐ Starting cloudflared tunnel to http://localhost:3000\nℹ Waiting for tunnel URL...\nāœ” Tunnel ready at https://unjs-is-awesome.trycloudflare.com\n```\n\nUse `npx untun tunnel --help` for more usage info.\n\n## Usage (API)\n\nInstall package:\n\n```sh\n# npm\nnpm install untun\n\n# yarn\nyarn add untun\n\n# pnpm\npnpm install untun\n```\n\nImport:\n\n```ts\n// ESM\nimport { startTunnel } from \"untun\";\n\n// CommonJS\nconst { startTunnel } = require(\"untun\");\n```\n\nStart tunnel:\n\n```ts\nconst tunnel = await startTunnel({ port: 3000 });\n```\n\n## Options\n\n### `url`\n\n- Default: `{protocol}://{hostname}:{port}`\n\nThe local server URL to tunnel.\n\n### `port`\n\n- Default: `3000`\n\nThe local server PORT (only effective if `url` is not provided).\n\n### `hostname`\n\n- Default: `localhost`\n\nThe local server hostname (only effective if `url` is not provided).\n\n### `protocol`\n\n- Default: `http`\n\nThe local server protocol (only effective if `url` is not provided).\n\n### `verifyTLS`\n\n- Default: `false`\n\nVerify local server TLS certificate.\n\n### `acceptCloudflareNotice`\n\n- Default: `false`\n- Environment variable: `UNTUN_ACCEPT_CLOUDFLARE_NOTICE`\n\nAccept cloudflare TOS by default.\n\n## Development\n\n- Clone this repository\n- Install latest LTS version of [Node.js](https://nodejs.org/en/)\n- Enable [Corepack](https://github.com/nodejs/corepack) using `corepack enable`\n- Install dependencies using `pnpm install`\n- Run interactive tests using `pnpm dev`\n\n## License\n\nMade with šŸ’›\n\nPublished under [MIT License](./LICENSE).\n\ncloudflared integration based on a fork of [JacobLinCool/node-cloudflared](https://github.com/JacobLinCool/node-cloudflared)\n\nYour installation of cloudflared software constitutes a symbol of your signature indicating that you accept the terms of the Cloudflare [License](https://developers.cloudflare.com/cloudflare-one/connections/connect-networks/downloads/license/), [Terms](https://www.cloudflare.com/terms/) and [Privacy Policy](https://www.cloudflare.com/privacypolicy/).\n\n\n\n[npm-version-src]: https://img.shields.io/npm/v/untun?style=flat&colorA=18181B&colorB=F0DB4F\n[npm-version-href]: https://npmjs.com/package/untun\n[npm-downloads-src]: https://img.shields.io/npm/dm/untun?style=flat&colorA=18181B&colorB=F0DB4F\n[npm-downloads-href]: https://npmjs.com/package/untun\n[codecov-src]: https://img.shields.io/codecov/c/gh/unjs/untun/main?style=flat&colorA=18181B&colorB=F0DB4F\n[codecov-href]: https://codecov.io/gh/unjs/untun\n[bundle-src]: https://img.shields.io/bundlephobia/minzip/untun?style=flat&colorA=18181B&colorB=F0DB4F\n[bundle-href]: https://bundlephobia.com/result?p=untun\n[license-src]: https://img.shields.io/github/license/unjs/untun.svg?style=flat&colorA=18181B&colorB=F0DB4F\n[license-href]: https://github.com/unjs/untun/blob/main/LICENSE\n","readmeFilename":"README.md","description":"Tunnel your local HTTP(s) server to the world! Powered by Cloudflare Quick Tunnels.","homepage":"https://github.com/unjs/untun#readme","repository":{"type":"git","url":"git+https://github.com/unjs/untun.git"},"bugs":{"url":"https://github.com/unjs/untun/issues"},"license":"MIT"}