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

bypass-vpn

v1.5.2

Published

Route AI service traffic (Claude, ChatGPT, Firebase) through Wi-Fi gateway to bypass VPN

Downloads

361

Readme

bypass-vpn

Route AI and work service traffic (Claude, ChatGPT, Atlassian, Wispr Flow, npm, Firebase, Google Auth) through your Wi-Fi gateway to bypass VPN routing.

Works on macOS and Windows. Zero dependencies.

Install

npm install -g bypass-vpn

Setup

macOS — run without a password (recommended)

bypass-vpn only needs elevated privileges for one thing: the route command. Run this once to grant passwordless access to just that command:

bypass-vpn --install-sudoers   # asks for your password this one time

After that, every run works with no password and no sudo. It adds a single scoped rule (NOPASSWD: /sbin/route) to /etc/sudoers.d/bypass-vpn — nothing else is granted. Undo any time with bypass-vpn --uninstall-sudoers.

Prefer not to set that up? You can always fall back to sudo bypass-vpn, which prompts for your password each run.

Windows

Run from an elevated Command Prompt or PowerShell (Administrator). No setup command needed.

Usage

On macOS, the examples below assume you've run --install-sudoers; otherwise prefix them with sudo. On Windows, run them from an elevated prompt.

# Route all services through Wi-Fi
bypass-vpn

# Route specific services only
bypass-vpn --service claude --service chatgpt

# Remove routes
bypass-vpn --remove

# Preview without executing (no privileges needed)
bypass-vpn --dry-run

# List available services
bypass-vpn --list

Custom Domains

Save your own domains (e.g., your company's Jira instance) so they're automatically routed on every run:

# One-time setup
bypass-vpn --add-domain mycompany.atlassian.net

# Now just run normally — saved domains are included automatically
bypass-vpn

# Remove a saved domain
bypass-vpn --remove-domain mycompany.atlassian.net

Custom domains are persisted in ~/.bypass-vpn.json.

Supported Services

| Service | Domains | |---------|---------| | Claude | api.anthropic.com | | ChatGPT | chatgpt.com, chat.openai.com, api.openai.com, + 5 more | | Firebase | firestore.googleapis.com, securetoken.googleapis.com, + 3 more | | Google Auth | accounts.google.com, oauth2.googleapis.com, + 2 more | | Atlassian | api.atlassian.com, auth.atlassian.com, id.atlassian.com | | Wispr Flow | wisprflow.ai, api.wisprflow.ai, inference.wisprflow.com, dl.wisprflow.com | | npm | registry.npmjs.org |

Run bypass-vpn --list for the full domain list.

How It Works

  1. Detects your Wi-Fi gateway IP
  2. Resolves each service domain to its current IP addresses
  3. Adds host-specific routes through the Wi-Fi gateway, bypassing VPN's default route

Routes are ephemeral — they reset on reboot or network change. Re-run as needed.

Requirements

  • Node.js >= 16
  • macOS or Windows
  • Privileges to modify the routing table — on macOS granted once via --install-sudoers (or sudo per run); on Windows an elevated prompt

Uninstall

npm uninstall -g bypass-vpn

Credits

Idea by Sourabh Khot

License

MIT