Skip to main content

Using ngrok with Node.js or npm


tip

This article assumes you have node and npm already installed.

Agent Management

If you need to manage the ngrok agent for starting tunnels, use bubenshchykov's npm package:

API Client

If you'd like to programmatically access the ngrok API for configuring ngrok Edges and modules, use our ngrok Javascript/Typescript Client.

NodeJS SDK (beta)

Embed ngrok secure ingress into your Node.js apps with a single line of code with our beta ngrok NodeJS SDK.