{"name":"@lambdatest/node-tunnel","version":"4.0.3","keywords":["lambdatest","tunnel","local","selenium","testing"],"author":{"name":"LambdaTest","email":"keys@lambdatest.com"},"license":"ISC","_id":"@lambdatest/node-tunnel@4.0.3","maintainers":[{"name":"lambdatestdev","email":"keys@lambdatest.com"}],"contributors":[{"url":"https://www.npmjs.com/~lambdatestdev","name":"LambdaTest","email":"keys@lambdatest.com"}],"homepage":"https://github.com/LambdaTest/node-tunnel#readme","bugs":{"url":"https://github.com/LambdaTest/node-tunnel/issues"},"dist":{"shasum":"2774fea2221323a8450befb1c81ea41fb3490f9b","tarball":"http://registry-npm.ywwl.com/@lambdatest/node-tunnel/download/@lambdatest/node-tunnel-4.0.3.tgz","fileCount":9,"integrity":"sha512-lf+zRfbFD9mWQzeWMOjdD0WL0zY7Hiu9N0vGowA2CC2bthD3ELLGHVoN4aBzYqKIi1DNw04mYQL8CCc6bjRL4w==","signatures":[{"sig":"MEYCIQCDO/E5dGoaWdwDVyy9mfCB2G0zFzarblAJjFTepa7C6AIhALC2EV5a2CjiV7V1bcqpHB0qXHzQ1tMm4OlUkf6DwGZX","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":65994,"size":14427,"noattachment":false,"key":"/@lambdatest/node-tunnel/-/@lambdatest/node-tunnel-4.0.3.tgz"},"main":"index.js","gitHead":"e19481cf1416d51aa2c43bd421d11ad84a76f512","scripts":{"test":"mocha tests --recursive"},"_npmUser":{"name":"lambdatestdev","email":"keys@lambdatest.com"},"repository":{"url":"git+https://github.com/LambdaTest/node-tunnel.git","type":"git"},"_npmVersion":"6.14.18","description":"Nodejs bindings for LambdaTest Tunnel","directories":{"lib":"lib","test":"tests"},"_nodeVersion":"14.21.3","dependencies":{"axios":"^0.26.0","split":"^1.0.1","adm-zip":"^0.5.10","get-port":"^1.0.0","https-proxy-agent":"^5.0.0"},"_hasShrinkwrap":false,"devDependencies":{"chai":"^4.3.7","mocha":"^10.2.0","eslint":"^7.32.0 || ^8.2.0","prettier":"^2.8.7","clang-format":"^1.8.0","eslint-plugin-react":"^7.28.0","eslint-config-airbnb":"^19.0.4","eslint-plugin-import":"^2.25.3","eslint-config-prettier":"^8.8.0","eslint-plugin-jsx-a11y":"^6.5.1","eslint-plugin-prettier":"^4.2.1","eslint-plugin-react-hooks":"^4.3.0"},"_npmOperationalInternal":{"tmp":"tmp/node-tunnel_4.0.3_1690281914027_0.394640854517619","host":"s3://npm-registry-packages"},"readme":"# Node.js Tunnel for TestMu AI (Formerly LambdaTest)\n\n<p align=\"center\">\n  <a href=\"https://www.testmuai.com/\"><img src=\"https://img.shields.io/badge/MADE%20BY%20TestMu%20AI-000000.svg?style=for-the-badge&labelColor=000\" alt=\"Made by TestMu AI\"></a>\n  <a href=\"https://www.npmjs.com/package/@lambdatest/node-tunnel\"><img src=\"https://img.shields.io/npm/v/@lambdatest/node-tunnel.svg?style=for-the-badge&labelColor=000000\" alt=\"npm version\"></a>\n  <a href=\"https://community.testmuai.com/\"><img src=\"https://img.shields.io/badge/Join%20the%20community-blueviolet.svg?style=for-the-badge&labelColor=000000\" alt=\"Community\"></a>\n</p>\n\n## Getting Started\n\n[TestMu AI](https://www.testmuai.com/) (Formerly LambdaTest) is the world's first full-stack AI Agentic Quality Engineering platform that empowers teams to test intelligently, smarter, and ship faster. Built for scale, it offers a full-stack testing cloud with 10K+ real devices and 3,000+ browsers. With AI-native test management, MCP servers, and agent-based automation, TestMu AI supports Selenium, Appium, Playwright, and all major frameworks. \n\nWith TestMu AI (Formerly LambdaTest), you can programmatically start, manage, and stop a secure tunnel to your local or private network from Node.js applications — enabling local testing against the TestMu AI cloud without manual tunnel setup.\n\n- [Sign up on TestMu AI](https://www.testmuai.com/register/) (Formerly LambdaTest).\n- Follow the [TestMu AI Documentation](https://www.testmuai.com/support/docs/) for the full setup walkthrough.\n\n### Prerequisites\n\n- Node.js and npm (latest stable)\n- A TestMu AI (Formerly LambdaTest) account with your username and access key\n\n### Setup\n\nClone and install dependencies:\n\n```bash\ngit clone https://github.com/LambdaTest/node-tunnel && cd node-tunnel\nnpm install @lambdatest/node-tunnel\n```\n\nSet your credentials as environment variables.\n\n**macOS / Linux:**\n\n```bash\nexport LT_USERNAME=\"YOUR_USERNAME\"\nexport LT_ACCESS_KEY=\"YOUR_ACCESS_KEY\"\n```\n\n**Windows:**\n\n```bash\nset LT_USERNAME=\"YOUR_USERNAME\"\nset LT_ACCESS_KEY=\"YOUR_ACCESS_KEY\"\n```\n\n### Run tests\n\n```js\nvar lambdaTunnel = require('@lambdatest/node-tunnel');\n\nvar tunnelInstance = new lambdaTunnel();\n\nvar tunnelArguments = {\n  user: process.env.LT_USERNAME,\n  key: process.env.LT_ACCESS_KEY\n};\n\n// Async/Await Style\n(async function() {\n  try {\n    const istunnelStarted = await tunnelInstance.start(tunnelArguments);\n    console.log('Tunnel is Running Successfully');\n\n    // Run your tests here\n\n    const status = await tunnelInstance.stop();\n    console.log('Tunnel is Stopped ? ' + status);\n  } catch (error) {\n    console.log(error);\n  }\n})();\n```\n\nView results on your TestMu AI dashboard.\n\n### Local testing with TestMu AI Tunnel\n\nTo test locally hosted apps, set up the TestMu AI tunnel. OS-specific guides:\n\n- [Local Testing on Windows](https://www.testmuai.com/support/docs/local-testing-for-windows/)\n- [Local Testing on macOS](https://www.testmuai.com/support/docs/local-testing-for-macos/)\n- [Local Testing on Linux](https://www.testmuai.com/support/docs/local-testing-for-linux/)\n\nAdd the following to your capabilities:\n\n```js\ntunnel: true,\n```\n\n## Contributions\n\nContributions are welcome. Open an issue to discuss your idea before submitting a pull request. When reporting bugs, include your Node.js version, OS, and npm version.\n\n## TestMu AI (Formerly LambdaTest) Community\n\nConnect with testers and developers in the [TestMu AI Community](https://community.testmuai.com/). Ask questions, share what you are building, and discuss best practices in test automation and DevOps.\n  \n## TestMu AI (Formerly LambdaTest) Certifications\n\nEarn free [TestMu AI Certifications](https://www.testmuai.com/certifications/) for testers, developers, and QA engineers. Validate your skills in Selenium, Cypress, Playwright, Appium, Espresso and more. Industry-recognized, shareable on LinkedIn, and built by practitioners, not marketers.\n\n## Learning Resources by TestMu AI (Formerly LambdaTest)\n\nLearn modern testing through tutorials, guides, videos, and weekly updates:\n\n* [TestMu AI Blog](https://www.testmuai.com/blog/)\n* [TestMu AI Learning Hub](https://www.testmuai.com/learning-hub/)\n* [TestMu AI on YouTube](https://www.youtube.com/@TestMuAI)\n* [TestMu AI Newsletter](https://www.testmuai.com/newsletter/)\n  \n## LambdaTest is Now TestMu AI\n\nOn **January 12, 2026**, [LambdaTest evolved to TestMu AI](https://www.testmuai.com/lambdatest-is-now-testmuai/), the world's first fully autonomous **Agentic AI Quality Engineering Platform**.\n\nSame team. Same infrastructure. Same customer accounts. All existing LambdaTest logins, scripts, capabilities, and integrations continue to work without change.\n\nFind the new home for [LambdaTest](https://www.testmuai.com).\n\n### How LambdaTest Evolved into TestMu AI\n\nIn 2017, we launched LambdaTest with a simple mission: make testing fast, reliable, and accessible. As LambdaTest grew, we expanded into Test Intelligence, Visual Regression Testing, Accessibility Testing, API Testing, and Performance Testing, covering the full depth of the testing lifecycle.\n\nAs software development entered the AI era, testing had to evolve, too. We rebuilt the architecture to be AI-native from the ground up, with autonomous agents that **plan, author, execute, analyze, and optimize tests** while keeping humans in the loop. The platform integrates with your repos, CI, IDEs, and terminals, continuously learning from every code change and development signal.\n\nThat evolution earned a new name: **TestMu AI**, built for an AI-first future of quality engineering. TestMu is not a new name for us. It is the name of our annual community conference, which has brought together 100,000+ quality engineers to discuss how AI would reshape testing, long before that became an industry norm. \n\nWhat started as a high-performance cloud testing platform has transformed into an AI-native, multi-agent system powering a connected, end-to-end quality layer. That evolution defined a new identity: LambdaTest evolved into TestMu AI, built for an AI-first future of quality engineering.\n\n## Support\n\nGot a question? Email [support@testmuai.com](mailto:support@testmuai.com) or chat with us 24x7 from our chat portal.\n","publish_time":1690281914240,"_cnpm_publish_time":1690281914240,"dist-tags":{"beta":"3.0.0-beta.1","latest":"4.0.14"}}