ngrok is a Node.js wrapper for the ngrok tunneling client, allowing developers to expose local services to the internet directly from JavaScript or the command line. It is commonly used for webhook testing, local API demos, development previews, and temporary public access to local applications. The package can start HTTP, TCP, and TLS tunnels, with options for ports, regions, authentication tokens, basic authentication, custom configuration paths, and logging callbacks. It also exposes a wrapper around ngrok’s local client API, letting applications list tunnels, start or stop tunnels, inspect requests, replay requests, and clear request history. The module can be installed locally for application-level use or globally for CLI-style tunneling. Overall, it gives Node.js projects a convenient programmable interface for managing ngrok sessions.

Features

  • Node.js wrapper for the ngrok client
  • HTTP, TCP, and TLS tunnel support
  • Local and global npm installation options
  • Programmable connect, disconnect, and auth token methods
  • Local inspector and request replay support
  • Client API wrapper for tunnel and request management

Project Samples

Project Activity

See All Activity >

Categories

Tunneling

Follow ngrok

ngrok Web Site

Other Useful Business Software
Earn up to 16% annual interest with Nexo. Icon
Earn up to 16% annual interest with Nexo.

Access competitive interest rates on your digital assets.

Generate interest, borrow against your crypto, and trade a range of cryptocurrencies — all in one platform. Geographic restrictions, eligibility, and terms apply.
Get started with Nexo.
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of ngrok!

Additional Project Details

Operating Systems

Linux, Mac, Windows

Programming Language

JavaScript

Related Categories

JavaScript Tunneling Software

Registered

1 day ago