npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

node-proxylens

v1.3.4

Published

CLI for ProxyLens AI Traffic Inspector

Downloads

394

Readme

ProxyLens CLI

ProxyLens is an AI-powered traffic inspector for your local development environment. This package provides the CLI and Node.js SDK to connect your local applications to the ProxyLens dashboard.

Features

  • Traffic Inspection: View and analyze HTTP/HTTPS requests in real-time.
  • Tunneling: Expose your local server to the internet with a secure tunnel.
  • Request Replay: Replay requests to test your backend.
  • AI Analysis: Get AI-driven insights into your API traffic (via dashboard).

Installation

npm install -g node-proxylens

CLI Usage

Start Proxying

To start proxying traffic to your local server:

# Proxy to a local port (e.g., 3000)
proxylens 3000

# Proxy to a specific URL
proxylens http://localhost:8080

Running this command will start a proxy server (default port 8000) and open the web dashboard.

Public Tunneling

To expose your local server to the internet using a public subdomain:

# Expose port 3000 with a random or shared subdomain
proxylens 3000 -d my-app

Note: You may need to login to use custom subdomains.

ProxyLens Dashboard

Visit proxylens.dev to:

  • Get your authentication token for the CLI.
  • Manage your domains and tunnels.
  • View and analyze your traffic history.
  • Collaborate with your team.

View Live Traffic: Go to proxylens.dev/interceptor to see all your traffic in real-time.

Authentication

Manage your ProxyLens account directly from the CLI.

# Login with your authentication token
proxylens login <your-token>

# Check which account you are logged in as
proxylens whoami

# Logout from the CLI
proxylens logout

Options

| Flag | Description | |------|-------------| | target | The target URL or port to proxy to (e.g., 3000 or http://localhost:3000). | | [port] | Optional. The port for ProxyLens to listen on (default: 8000). usage: proxylens <target> <port> | | -d <subdomain> | Request a specific subdomain for the public tunnel. | | -u <url> | Specify a custom server URL (for self-hosted ProxyLens instances, Enterprise option). | | --domain <domain> | Specify a custom root domain (advanced usage). |

Node.js SDK (COMING SOON)

You can also use ProxyLens programmatically in your Node.js applications.

const { ProxyLens } = require('node-proxylens');
const http = require('http');

const uiServer = http.createServer();
const lens = new ProxyLens(uiServer, {
  proxyTarget: 'http://localhost:3000'
});

// Start the UI server
uiServer.listen(8000, () => {
    console.log('ProxyLens dashboard running at http://localhost:8000');
});

License

Copyright (c) 2025 ProxyLens. All rights reserved.