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

resonet

v0.1.0

Published

Decentralized privacy-first network built on multi-context-objects

Readme

Resonet

A decentralized, privacy-first communication, data-sharing, computation and value transfer network built on quaternionic mathematics and symbolic resonance principles.

License Node TypeScript

🌟 Features

Core Capabilities

  1. Prime-based Quaternionic Identity - Unique, cryptographically secure identities based on split primes
  2. Dual-protocol Communication - Quaternionic channels for groups, holographic for P2P
  3. Holographic Storage - Distributed storage with quantum-inspired consensus
  4. Symbolic Computation - Entropy-driven computation marketplace (P=NP approach)
  5. Quaternionic Ledger - Entanglement-based value transfer with instant finality
  6. Smart Contracts - Entropy-driven programmable transactions
  7. Zero-Knowledge Proofs - Privacy-preserving verification using quaternion mathematics
  8. Holographic CDN - Adaptive bitrate streaming with P2P distribution
  9. Quantum-Secure Messaging - Post-quantum encryption with forward secrecy
  10. Network Resilience - Self-healing topology with automatic recovery

Network Features

  • True Decentralization - No central servers or coordinators
  • Privacy-First - End-to-end encryption, zero-knowledge proofs
  • Scalable - Efficient O(log N) routing via DHT
  • Resilient - Automatic partition healing, graceful degradation
  • Flexible - Run as full node, light node, or browser node

🚀 Quick Start

Installation

npm install resonet

Start a Node (CLI)

# Start with RPC server
npx resonet start --rpc

# Start with custom config
npx resonet start --config config.json

# Check status
npx resonet status

# Connect to peers
npx resonet peer connect peer.example.com:8000

Use as Library

import { ResonetDaemon } from 'resonet';

const daemon = new ResonetDaemon({
  node: {
    nodeId: 'my-node',
    nodePrime: 13
  },
  network: {
    host: '0.0.0.0',
    port: 8000,
    bootstrapNodes: ['bootstrap.resonet.network:8000'],
    maxConnections: 32
  },
  capabilities: {
    computation: true,
    storage: true,
    ledger: true
  }
});

await daemon.start();

Use RPC API

// HTTP JSON-RPC
const response = await fetch('http://localhost:8545', {
  method: 'POST',
  headers: { 'Content-Type': 'application/json' },
  body: JSON.stringify({
    jsonrpc: '2.0',
    method: 'node.getStatus',
    id: 1
  })
});

// WebSocket for real-time events
const ws = new WebSocket('ws://localhost:8545');
ws.onmessage = (event) => {
  const notification = JSON.parse(event.data);
  console.log('Event:', notification.method, notification.params);
};

📚 Documentation

🏗️ Architecture

Components

resonet/
├── src/
│   ├── daemon/          # Core daemon
│   ├── rpc/             # JSON-RPC server
│   ├── cli/             # Command-line interface
│   ├── network/         # Network node
│   ├── identity/        # Identity system
│   ├── communication/   # Communication protocols
│   ├── storage/         # Holographic storage
│   ├── computation/     # Symbolic computation
│   ├── value/           # Quaternionic ledger
│   ├── contracts/       # Smart contracts
│   ├── security/        # Zero-knowledge proofs
│   ├── streaming/       # Holographic CDN
│   └── messaging/       # Quantum-secure messaging
├── bin/                 # CLI entry point
├── config/              # Configuration examples
├── docs/                # Documentation
└── examples/            # Example applications

Technology Stack

  • TypeScript - Type-safe development
  • Node.js - Runtime environment
  • WebSocket - Real-time communication
  • JSON-RPC 2.0 - API protocol
  • Commander - CLI framework

🎯 Use Cases

Decentralized Applications

  • Messaging - Private, censorship-resistant communication
  • File Sharing - Distributed storage with privacy
  • Computation - Distributed computing marketplace
  • Value Transfer - Instant, secure transactions
  • Content Delivery - P2P streaming and distribution

Network Types

  • Full Nodes - Run on servers, provide bootstrap services
  • Light Nodes - Run on consumer devices, limited storage
  • Browser Nodes - Run in web browsers via WebRTC

🔧 Configuration

Example Configuration

{
  "node": {
    "nodeId": "my-node",
    "nodePrime": 13,
    "dataDir": "~/.resonet"
  },
  "network": {
    "host": "0.0.0.0",
    "port": 8000,
    "bootstrapNodes": ["bootstrap.resonet.network:8000"],
    "maxConnections": 32
  },
  "rpc": {
    "enabled": true,
    "port": 8545,
    "host": "127.0.0.1",
    "cors": ["http://localhost:3000"]
  },
  "capabilities": {
    "computation": true,
    "storage": true,
    "ledger": true
  }
}

🌐 Network Discovery

Resonet uses multiple discovery mechanisms:

  1. Bootstrap Nodes - Initial entry points
  2. DHT (Kademlia) - Distributed hash table for O(log N) lookups
  3. Gossip Protocol - Peer exchange and information spread
  4. mDNS - Local network discovery

🔐 Security

  • Proof of Prime - Sybil attack resistance
  • End-to-End Encryption - All traffic encrypted
  • Zero-Knowledge Proofs - Privacy-preserving verification
  • Post-Quantum Cryptography - Future-proof security
  • Rate Limiting - DDoS protection

📊 Performance

  • Routing: O(log N) via DHT
  • Consensus: Quaternionic resonance alignment
  • Storage: Holographic distribution with redundancy
  • Computation: Entropy-driven optimization

🤝 Contributing

We welcome contributions! Please see CONTRIBUTING.md for guidelines.

Development Setup

# Clone repository
git clone https://github.com/your-org/multi-context-objects.git
cd multi-context-objects/resonet

# Install dependencies
npm install

# Run in development mode
npm run dev

# Build
npm run build

# Run tests
npm test

📝 License

ISC License - see LICENSE for details

🙏 Acknowledgments

Built on the multi-context-objects framework, leveraging:

  • Quaternionic mathematics for non-commutative operations
  • Symbolic resonance for entropy-driven computation
  • Holographic principles for distributed storage
  • Quantum-inspired cryptography for security

📞 Support

🗺️ Roadmap

  • [x] Core network implementation
  • [x] RPC server and CLI
  • [x] Web dashboard
  • [ ] Mobile clients
  • [ ] Browser extension
  • [ ] Production bootstrap nodes
  • [ ] Mainnet launch
  • [ ] Developer SDK
  • [ ] Plugin ecosystem

Built with ❤️ using quaternionic mathematics and symbolic resonance