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

@foundryprotocol/0gkit-devnet

v1.0.0

Published

Local chain + storage + compute + DA stack for 0G app development (`0g dev`).

Readme

@foundryprotocol/0gkit-devnet

Local chain + storage + compute + DA stack for 0G app development.

Powers the 0g dev CLI. Spins up a complete local 0G environment so you can build without waiting on the Galileo faucet or paying for testnet gas.

What it runs

| Service | What | Default port | | ----------- | ------------------------------------------------------------ | ------------ | | chain | anvil (shelled out — install with foundryup) | 8545 | | storage | Node HTTP server, filesystem CAS at ~/.0g-dev/storage | 5678 | | compute | OpenAI-compatible HTTP server (Ollama if running, else stub) | 5679 | | da | In-memory canonical-digest store | 5680 |

10 deterministic prefunded accounts (10,000 ETH each) using the standard anvil dev mnemonic. Apps written against network: "local" and against network: "galileo" are byte-identical — only the preset changes.

Usage

# From the CLI (recommended)
0g dev start
0g dev status
0g dev stop

# Programmatic (in tests, etc.)
import { startDevnet, stopDevnet } from "@foundryprotocol/0gkit-devnet";

const handle = await startDevnet({ accounts: 3 });
// ... use handle.chain.url, handle.accounts[0].privateKey, etc.
await handle.stop();

Prerequisites

  • anvil on PATH. Install once with:
    curl -L https://foundry.paradigm.xyz | bash && foundryup

Known divergences from live network

The mocks implement the same wire protocol as the real services but:

  • Storage's Merkle root is computed by the real @0gfoundation/0g-storage-ts-sdk when injected; otherwise the mock returns a deterministic SHA-256-derived root that round-trips locally but won't match real-network roots.
  • Compute's "stub" mode echoes the prompt with a [MOCK] prefix. If ollama serve is detected at localhost:11434, the mock proxies to it.
  • DA's digest is SHA-256(bytes) — matches the documented canonical digest shape.

License

MIT