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

@tai-network/node

v0.1.1

Published

Tai Node Operator - Run relay infrastructure for decentralized video and earn rewards

Readme

Tai Node Package

CLI tool for running Tai Network relay/caching nodes. Part of the Tai Network ecosystem.

Overview

Node operators provide bandwidth and caching for the Tai Network, earning rewards based on uptime and performance. Nodes serve as the decentralized CDN layer for video delivery.

How It Works

  1. Stake SUI to register as a node operator
  2. Run the node to cache and serve video content
  3. Earn rewards proportional to bandwidth served

Project Structure

Tai-Node-Package/
├── src/               # TypeScript CLI source
├── contract/          # Node operator Move contract
├── scripts/           # Utility scripts
└── dist/              # Compiled output

Smart Contract

Located in /contract/sources/node_operator.move:

  • Node registration with staking
  • Uptime tracking
  • Reward distribution
  • Slashing for poor performance

Installation

# From npm (when published)
npm install -g @tai-network/node

# From source
git clone <repo>
cd Tai-Node-Package
npm install
npm run build
npm link

Usage

Start Signaling + TURN

tai-node start --port 8080 --turn-port 3478 --realm tai.io

Start Relay

tai-node relay --port 8081 --walrus

Register Node Operator

tai-node register \
  --endpoint wss://relay.example.com:8081 \
  --region us-east \
  --network testnet

Check Status

tai-node status --network testnet

Join as Agent

tai-node agent \
  --config ./agent.config.json \
  --room room-123 \
  --mode meeting \
  --signaling-url ws://localhost:8080

Development

# Install dependencies
npm install

# Build CLI
npm run build

# Run locally
npm start

# Run tests
npm test

Requirements

  • Node.js >= 18
  • Sui CLI (for wallet management)
  • Minimum 100 SUI stake
  • Reliable internet connection
  • Sufficient disk space for caching

Configuration

Create .env:

SUI_PRIVATE_KEY=suiprivkey1...
NODE_OPERATOR_PACKAGE_ID=0x...
NODE_OPERATOR_REGISTRY_ID=0x...

# Required for agent mode
AGENT_ID=0x...
SIGNER_KEY=suiprivkey1...
SAI_PACKAGE_ID=0x...
SAI_REGISTRY_ID=0x...

# Optional infra endpoints
WALRUS_AGGREGATOR_URL=https://aggregator.walrus-testnet.walrus.space
WALRUS_PUBLISHER_URL=https://publisher.walrus-testnet.walrus.space

Related

License

MIT