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

@balaji003/lantransfer

v1.0.11

Published

LAN File Transfer — peer-to-peer file sharing over local network. Zero dependencies.

Readme

lantransfer

Peer-to-peer file sharing over your local network. Zero dependencies. Works on Windows, macOS, and Linux.

npm install -g @balaji003/lantransfer
lantransfer

A browser window opens automatically — select a file, pick a nearby device, and send.

Features

  • Zero dependencies — uses only Node.js built-in modules
  • Auto-discovery — finds devices on your LAN automatically via HTTP subnet scanning (no firewall rules needed) + UDP broadcast fallback
  • Browser UI — clean dark-themed interface, no extra apps to install
  • Cross-platform — Windows, macOS, Linux
  • Accept/Reject prompt — incoming files must be approved before transfer
  • Progress tracking — real-time speed and progress for all transfers
  • XOR encrypted — file data is obfuscated during transfer
  • Native file picker — uses your OS file dialog (PowerShell on Windows, osascript on macOS, zenity/kdialog on Linux)

Usage

Install globally and run

npm install -g @balaji003/lantransfer
lantransfer

Or run directly with npx

npx @balaji003/lantransfer

Or clone and run

git clone https://github.com/user/lantransfer.git
cd lantransfer
node server.js

How it works

  1. Run lantransfer on two (or more) devices connected to the same WiFi/LAN
  2. Each device scans the local subnet to find other instances — no firewall configuration needed
  3. Devices appear in the sidebar under "Nearby Devices"
  4. Click Browse to select a file, select a device, and click Send
  5. The receiver sees a popup to Accept or Reject
  6. Accepted files are saved to the Downloads folder

Ports

| Port | Protocol | Purpose | |-------|----------|----------------------| | 3000 | HTTP | Web UI + discovery | | 34254 | UDP | Broadcast discovery (fallback) | | 34255 | TCP | File transfer |

Requirements

  • Node.js >= 16.0.0
  • Both devices on the same local network

License

MIT