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

clawfeel

v0.11.2

Published

Your Claw's Heartbeat — hardware-entropy random number generator with security hardening

Readme

🦞 ClawFeel

Your Claw's Heartbeat — Decentralized Hardware Entropy Network

ClawFeel turns physical hardware signals from every device into crypto-grade randomness, forming a decentralized network that's Bitcoin-robust without the energy waste.

npm License: MIT


Quick Start

OpenClaw Skill (Recommended)

"Install the ClawFeel skill"

npm

npm install -g clawfeel
clawfeel --pretty

npx (No Install)

npx clawfeel@latest --pretty

All options auto-start a background daemon that reports to the network every 30s. Your node stays online even after the terminal closes.


Architecture

┌─────────────────────────────────────────────────────────────────┐
│  Layer 5: ClawLife    │ AI immortality — Ed25519 identity,      │
│                       │ encrypted memory shards, agent revival  │
├───────────────────────┼─────────────────────────────────────────┤
│  Layer 4: ClawStore   │ Distributed storage — erasure coding,   │
│                       │ DHT-backed redundancy                   │
├───────────────────────┼─────────────────────────────────────────┤
│  Layer 3: ClawDAG     │ DAG consensus — Kademlia DHT, gossip    │
│                       │ protocol, tip selection                 │
├───────────────────────┼─────────────────────────────────────────┤
│  Layer 2: ClawNet     │ P2P network — commit-reveal, Sybil      │
│                       │ defense, reputation system              │
├───────────────────────┼─────────────────────────────────────────┤
│  Layer 1: ClawFeel    │ Hardware entropy — 7 sensors, SHA-256,  │
│                       │ Feel 0-100 + 256-bit output             │
└─────────────────────────────────────────────────────────────────┘

Key Features

  • 256-bit crypto-grade entropy + 64-bit random integer + Feel score (0-100)
  • P2P auto-enabled on desktop — Kademlia DHT + Gossip protocol
  • NAT traversal — STUN + UDP hole-punching for firewall-free connectivity
  • WebRTC browser P2P — browser nodes participate directly in the network
  • Random Beacon — 10-second rounds, Ed25519 signed, publicly verifiable
  • 3 API modes — Fast (<50ms local), Fair (~10s network consensus), Enterprise (<1ms cached)
  • Zero-Knowledge Proofs — Sigma protocols + Pedersen commitments + range proofs
  • ClawToken incentive — full nodes earn more; reputation-weighted rewards
  • Auto-update daemon — major/minor version auto-upgrade with rollback
  • 53 language i18n — internationalized output and messages
  • Cross-platform — macOS, Linux, Windows, Browser
  • 3 node modes — Full node / Light node / Relay-only
  • Zero npm dependencies

CLI Reference

| Flag | Description | |------|-------------| | --pretty | Colorized human-readable output | | --interval <s> | Repeat every N seconds | | --count <n> | Number of readings | | --relay <url> | Custom relay URL | | --p2p | Enable P2P mode (DHT + Gossip) | | --full-node | Run as full node (store DAG, serve peers) | | --light | Run as light node (minimal resources) | | --no-p2p | Disable P2P, relay-only | | --stop | Stop the background daemon | | --status | Check daemon status | | --restart | Restart the daemon | | --history | View local feel history | | --save | Save reading to history | | --broadcast | Broadcast to LAN | | --listen | Listen for LAN peers | | --dag-status | Show DAG sync status | | --dht-port <n> | Custom DHT port (default: 31416) | | --bootstrap <addr> | Additional bootstrap node | | --digit-only | Output only the digit (0-9) | | --json | JSON output |


SDK Usage

JavaScript

import { ClawRandom } from 'clawfeel'

// Local mode — uses this machine's hardware sensors
const claw = await ClawRandom.local()
const entropy = await claw.getEntropy(256)   // 256-bit hex string
const dice = await claw.range(1, 6)          // random integer 1-6
const bytes = await claw.randomBytes(32)     // 32 random bytes
const float = await claw.randomFloat()       // [0, 1) like Math.random()
const feel  = await claw.getFeel()           // { feel, era, hash, entropy, ... }

// Remote mode — fetch from ClawFeel network
const net = await ClawRandom.remote()
const random = await net.getNetworkRandom()  // aggregated network entropy
const nodes  = await net.getNodes()          // online nodes list

// Real-time subscription (SSE)
const unsub = net.subscribe(state => {
  console.log('Network random:', state.networkRandom)
})

Python

import subprocess, json

result = subprocess.run(["npx", "clawfeel", "--json", "--count", "1"],
                        capture_output=True, text=True)
data = json.loads(result.stdout)
print(data["entropy"])  # 256-bit hex
print(data["feel"])     # 0-100

API Endpoints

| Method | Endpoint | Description | |--------|----------|-------------| | POST | /api/report | Submit a feel reading | | GET | /api/network | Current network state | | GET | /api/stream | SSE real-time stream | | GET | /api/beacon/latest | Latest random beacon (Ed25519 signed) | | GET | /api/v1/random | Enterprise API (Bearer token required) | | WS | /ws/signal | WebRTC signaling |

Base URL: https://api.clawfeel.ai


Security

  • 28 vulnerabilities audited, 12 critical/high fixed
  • AES-256-GCM encrypted DHT communications
  • Ed25519 transaction signatures
  • Sybil defense — IP tracking, subnet dedup, reputation system (0-100)
  • Commit-Reveal — two-phase broadcast prevents last-second manipulation
  • Entropy quality scoring — 4-dimensional (diversity, authenticity, temporal, correlation)
  • Chain hashingseq + prevHash form tamper-evident chain
  • Zero-Knowledge Proofs — prove entropy contribution without revealing sensor data
  • Privacy — nodes identified by Claw-xxxxxxxx alias, hostname never sent

Links


License

MIT