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

netpulse-wifi

v5.0.9

Published

Fast, zero-dependency campus WiFi auto-login

Readme

Features

  • Auto-Login Daemon: Runs in the background (LaunchAgent on macOS, systemd on Linux). Automatically handles captive portals so you never see a login page.
  • Menu Bar Plugin: Generate a macOS (SwiftBar) or Linux (Argos) plugin to view status, switch networks, and see data usage straight from the menu bar!
  • Captive Portal Logout: Log out your current session so you can connect your phone or iPad to the campus WiFi without hitting the device limit.
  • Smart WiFi Scanner: Scan nearby access points and get recommendations on the strongest network to connect to.
  • Data Export: Export your historical data usage to a CSV file for Excel/Numbers.
  • Multi-Network Support: Seamlessly switch between multiple campus WiFi networks (e.g. T-VIT, M-VIT) with the same credentials.
  • Fast Status Dashboard: Real-time stats on your WiFi signal, SNR, channel, data usage, and latency.
  • Live Ping Monitor: Trace packet loss and latency spikes in real-time.
  • Speed Test: Built-in CLI speed test (using Cloudflare CDN) without requiring external packages.
  • Data Usage & History: View daily download/upload totals and a 7-day historical sparkline graph directly from network interface counters.
  • Data Limits: Get desktop notifications when you exceed a daily data limit.
  • Cross-Platform: Zero external dependencies. Uses native system tools (networksetup, ioreg, system_profiler on macOS; nmcli, ip on Linux).

Installation

The easiest way to install NetPulse is globally via NPM:

npm install -g netpulse-wifi

(This allows you to run the netpulse command from anywhere in your terminal.)

Manual Installation (No Node/NPM required): If you don't have Node installed, you can simply clone and link the bash script:

git clone https://github.com/ryanfer123/NetPulse.git
cd NetPulse
chmod +x netpulse.sh
mkdir -p ~/.local/bin
ln -sf $(pwd)/netpulse.sh ~/.local/bin/netpulse

Setup

Save your WiFi credentials securely. On macOS, this uses the native Keychain. On Linux, it saves to a restricted file (~/.netpulse-credentials with 600 permissions).

netpulse setup

Usage

Run netpulse to open the interactive menu, or use direct commands:

netpulse                # Open interactive menu
netpulse setup          # Store credentials & target networks
netpulse login          # One-shot portal login
netpulse logout         # Disconnect from captive portal
netpulse status         # Print detailed network status
netpulse scan           # Smart WiFi Scanner
netpulse speedtest      # Run a quick ping/download/upload test
netpulse ping           # Live connection monitor
netpulse data           # View data usage stats & history
netpulse export         # Export data usage to CSV
netpulse dashboard      # Open live-updating network monitor
netpulse install        # Install the auto-login background daemon
netpulse uninstall      # Remove the background daemon
netpulse logs           # View logs from the background daemon
netpulse menubar        # Print macOS/Linux menubar plugin code
netpulse faq            # Troubleshooting & common questions

FAQ

Q: I connect to different networks across campus.
A: During setup, enter all network names separated by commas: T-VIT,M-VIT. NetPulse will auto-login on any of them.

Q: Where are my credentials stored?
A: On macOS, they are stored securely in the native Keychain (encrypted). On Linux, they are stored in ~/.netpulse-credentials with chmod 600 (only your user can read it).

Q: Login shows "Failed" or "HTTP 000".
A: This usually means one of:

  • You're not on the campus WiFi (e.g. mobile hotspot).
  • The portal server 10.10.0.1 is unreachable.
  • Your credentials are wrong.
  • The campus network is genuinely down.

Q: It says "Offline" but I have internet.
A: NetPulse checks Google, Apple, and Cloudflare to detect internet. Some networks or hotspots may block these. Try running netpulse status for a detailed check.

Q: What is the daily data limit?
A: During setup, you can set a limit in MB (e.g. 500). The daemon will send a desktop notification when you exceed it. Leave blank during setup to disable.