{"_id":"@dwidge/ngrok-tunnel","_rev":"3-4934c462f07a46fedf9d2b6f7b692a59","name":"@dwidge/ngrok-tunnel","dist-tags":{"latest":"0.1.2"},"versions":{"0.1.0":{"name":"@dwidge/ngrok-tunnel","version":"0.1.0","author":{"name":"DWJ"},"license":"BSL-1.0","_id":"@dwidge/ngrok-tunnel@0.1.0","maintainers":[{"name":"dwidgedev","email":"dwidge+npm@gmail.com"}],"homepage":"https://github.com/dwidge/ngrok-tunnel#readme","bugs":{"url":"https://github.com/dwidge/ngrok-tunnel/issues"},"bin":{"ngrok-tunnel":"cli.js"},"dist":{"shasum":"2f8c71d4ae20305635d1f0bc67aa90f772bbbf63","tarball":"https://registry.npmjs.org/@dwidge/ngrok-tunnel/-/ngrok-tunnel-0.1.0.tgz","fileCount":5,"integrity":"sha512-IIGJLN0QInwcSyIZKWdQtsX2bZrvyqXqIKnQ8hgLktXT/6qpCB3t89di4S7qasZy41y9UTRPvo8dZt6iPn1IPw==","signatures":[{"sig":"MEQCICTwPCabHRFv7M2Rgqc79cCM3pg+fdmtSfDTd33Q2FPoAiBVOW+xZrNgt9wl++ttN40hu3PAzexJoi2828cIHXRiKQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":4324},"_from":"file:dwidge-ngrok-tunnel-0.1.0.tgz","engines":{"node":">=20"},"_npmUser":{"name":"dwidgedev","email":"dwidge+npm@gmail.com"},"_resolved":"C:\\Users\\dw\\AppData\\Local\\Temp\\11a5469664f106363eec9532ffa79bfd\\dwidge-ngrok-tunnel-0.1.0.tgz","_integrity":"sha512-IIGJLN0QInwcSyIZKWdQtsX2bZrvyqXqIKnQ8hgLktXT/6qpCB3t89di4S7qasZy41y9UTRPvo8dZt6iPn1IPw==","repository":{"url":"git+https://github.com/dwidge/ngrok-tunnel.git","type":"git"},"_npmVersion":"10.2.4","description":"Run command with ngrok url passed as env","directories":{},"_nodeVersion":"21.6.2","dependencies":{"cross-spawn":"^7.0.3","@ngrok/ngrok":"*"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/ngrok-tunnel_0.1.0_1740652352076_0.2805374553407127","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"@dwidge/ngrok-tunnel","version":"0.1.1","author":{"name":"DWJ"},"license":"BSL-1.0","_id":"@dwidge/ngrok-tunnel@0.1.1","maintainers":[{"name":"dwidgedev","email":"dwidge+npm@gmail.com"}],"homepage":"https://github.com/dwidge/ngrok-tunnel#readme","bugs":{"url":"https://github.com/dwidge/ngrok-tunnel/issues"},"bin":{"ngrok-tunnel":"cli.js"},"dist":{"shasum":"c0f596c0883e9f6c660414229b5eacbf68683ddb","tarball":"https://registry.npmjs.org/@dwidge/ngrok-tunnel/-/ngrok-tunnel-0.1.1.tgz","fileCount":5,"integrity":"sha512-NgN0/tGupuw7Q6sh+ARHEcWE2q3lUkXdT5erclf0pD8fWxOh5zhAOZPUJW23lojsTDHq4cGh56k+M5aDQIFepw==","signatures":[{"sig":"MEQCIEXrYlJJXskshVYXzm8/8KUE16A7rBSz80Lvtl1h8jg4AiAShTP8K3IEc03qqiJRCnImm5CI8FRlVeot3rSuTSHwGw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":4324},"_from":"file:dwidge-ngrok-tunnel-0.1.1.tgz","engines":{"node":">=20"},"_npmUser":{"name":"dwidgedev","email":"dwidge+npm@gmail.com"},"_resolved":"C:\\Users\\dw\\AppData\\Local\\Temp\\4a2be267aa2134d32d7f145f5b50eda4\\dwidge-ngrok-tunnel-0.1.1.tgz","_integrity":"sha512-NgN0/tGupuw7Q6sh+ARHEcWE2q3lUkXdT5erclf0pD8fWxOh5zhAOZPUJW23lojsTDHq4cGh56k+M5aDQIFepw==","repository":{"url":"git+https://github.com/dwidge/ngrok-tunnel.git","type":"git"},"_npmVersion":"10.2.4","description":"Run command with ngrok url passed as env","directories":{},"_nodeVersion":"21.6.2","dependencies":{"cross-spawn":"^7.0.3","@ngrok/ngrok":"*"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/ngrok-tunnel_0.1.1_1740740879171_0.3319442619681465","host":"s3://npm-registry-packages-npm-production"}},"0.1.2":{"name":"@dwidge/ngrok-tunnel","version":"0.1.2","description":"Run command with ngrok url passed as env","author":{"name":"DWJ"},"license":"BSL-1.0","repository":{"type":"git","url":"git+https://github.com/dwidge/ngrok-tunnel.git"},"bin":{"ngrok-tunnel":"cli.js"},"dependencies":{"@ngrok/ngrok":"^1.0.0","cross-spawn":"^7.0.3"},"publishConfig":{"access":"public"},"engines":{"node":">=20"},"_id":"@dwidge/ngrok-tunnel@0.1.2","bugs":{"url":"https://github.com/dwidge/ngrok-tunnel/issues"},"homepage":"https://github.com/dwidge/ngrok-tunnel#readme","_integrity":"sha512-wZp73b0U5hFzH7rnay6BRtvJrtRu0eCIuQfZmfO5vyePqrng39IkluM9VKlvH8nwnQYWr/5JRIi/7oxuxXjbTw==","_resolved":"C:\\Users\\dw\\AppData\\Local\\Temp\\1b87ba7712bb6ac555f96c007a0305f4\\dwidge-ngrok-tunnel-0.1.2.tgz","_from":"file:dwidge-ngrok-tunnel-0.1.2.tgz","_nodeVersion":"22.14.0","_npmVersion":"10.9.2","dist":{"integrity":"sha512-wZp73b0U5hFzH7rnay6BRtvJrtRu0eCIuQfZmfO5vyePqrng39IkluM9VKlvH8nwnQYWr/5JRIi/7oxuxXjbTw==","shasum":"791fd0822e8ea80fdd11e72d547cda0204daf520","tarball":"https://registry.npmjs.org/@dwidge/ngrok-tunnel/-/ngrok-tunnel-0.1.2.tgz","fileCount":5,"unpackedSize":4329,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIHPNLwPvt0FLHuzJa6Ti0uIU3m0urxbtvLXXyWarq97VAiEAk2aBL70M5VnRRsm1Nt9v8UzbUf2X2SHQM0cfOhutK2Q="}]},"_npmUser":{"name":"dwidgedev","email":"dwidge+npm@gmail.com"},"directories":{},"maintainers":[{"name":"dwidgedev","email":"dwidge+npm@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/ngrok-tunnel_0.1.2_1756485503222_0.5458551587688569"},"_hasShrinkwrap":false}},"time":{"created":"2025-02-27T10:32:31.992Z","modified":"2025-08-29T16:38:23.613Z","0.1.0":"2025-02-27T10:32:32.248Z","0.1.1":"2025-02-28T11:07:59.417Z","0.1.2":"2025-08-29T16:38:23.404Z"},"bugs":{"url":"https://github.com/dwidge/ngrok-tunnel/issues"},"author":{"name":"DWJ"},"license":"BSL-1.0","homepage":"https://github.com/dwidge/ngrok-tunnel#readme","repository":{"type":"git","url":"git+https://github.com/dwidge/ngrok-tunnel.git"},"description":"Run command with ngrok url passed as env","maintainers":[{"name":"dwidgedev","email":"dwidge+npm@gmail.com"}],"readme":"# ngrok-tunnel\n\nRun command with ngrok url passed as env.\n\n## install\n\n### global\n\n```bash\n$ npm install -g @dwidge/ngrok-tunnel\n```\n\n### project\n\nYarn\n\n```bash\n$ yarn add @dwidge/ngrok-tunnel\n```\n\nNPM\n\n```bash\n$ npm install @dwidge/ngrok-tunnel\n```\n\npackage.json\n\n```json\n{\n  \"scripts\": {\n    \"start\": \"node index.js\",\n    \"tunnel\": \"ngrok-tunnel -p 3000 npm run\"\n  },\n  \"dependencies\": {\n    \"@dwidge/ngrok-tunnel\": \"*\"\n  }\n}\n```\n\n```bash\n$ npm run tunnel start\n```\n\n### local clone\n\n```bash\n$ npm install -g file:.\n```\n\n## usage\n\n```bash\n$ NGROK_AUTHTOKEN=abc ngrok-tunnel -p 3000 node -e \"console.log('NGROK_URL', process.env.NGROK_URL)\"\n```\n\nStarts ngrok with NGROK_AUTHTOKEN environment variable. Runs command with NGROK_URL environment variable set to external url.\n\n## license\n\nCopyright DWJ 2024.  \nDistributed under the Boost Software License, Version 1.0.  \nhttps://www.boost.org/LICENSE_1_0.txt\n","readmeFilename":"README.md"}