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

tinker-tcp-tunnel

v0.1.4

Published

Expose local TCP ports through a public relay

Readme

tinker-tcp-tunnel

A TCP tunnel plugin for TINKER, for temporarily exposing local TCP ports through a public relay.

Screenshot

Features

  • Host list with per-host connect / disconnect and independent status
  • Port mappings as separate cards (remote port → local host:port)
  • Relay CLI (tinker-tcp-tunnel serve) packaged in the same npm package
  • Required token auth on the server
  • Safe defaults: required token, sensitive ports blocked, max 10 mappings per client

Installation

Download and install TINKER from https://tinker.liriliri.io/, then run npm i -g tinker-tcp-tunnel.

Usage

Plugin (client)

  1. Open TCP Tunnel in Tinker
  2. Add a relay host (address, control port, token)
  3. Add port mappings for that host
  4. Click Connect

Config is stored in localStorage via licia/LocalStore.

Server (relay)

The relay must run on a machine with a public IP (for example a VPS). The control port and mapped ports both bind to 0.0.0.0 by default.

On the VPS:

tinker-tcp-tunnel serve -p 7700 -t my-secret

--token is required. Defaults:

  • Control listen: 0.0.0.0
  • Mapped ports: 0.0.0.0 (change with --proxy-bind)
  • Block privileged ports (< 1024) and common sensitive ports (MySQL, RDP, Redis, …)
  • At most 10 mapped ports per client
  • Control port itself cannot be mapped

In the plugin, set the relay host to the server's public IP (or tcp.surunzi.com), port 7700, and the same token. Open the control port and the mapped remote ports in the firewall.

Optional flags:

tinker-tcp-tunnel serve -p 7700 -t my-secret --max-ports 20
tinker-tcp-tunnel serve -p 7700 -t my-secret --allow-sensitive
tinker-tcp-tunnel serve -p 7700 -t my-secret --proxy-bind 0.0.0.0
tinker-tcp-tunnel serve --help

Intended for temporary access to local services, not long-running public exposure.