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

@credit-cooperative/address-book

v0.1.0

Published

Canonical registry of Credit Cooperative deployed contract addresses for Solidity and TypeScript

Readme

Credit Cooperative Address Book

License: MIT

The canonical registry of Credit Cooperative deployed contract addresses, for use in both Solidity and TypeScript/JavaScript projects. It aggregates the per-chain deployment registries that each protocol repo commits under deployments/<chainId>.json (produced by @credit-cooperative/devkit) and republishes them as typed, per-chain libraries.

What's inside

  • data/<project>/<chainId>.json — the source registries, mirrored from each protocol repo. This is the input. Everything else is generated from it.
  • src/<Project><Chain>.sol — generated Solidity libraries of address constants (e.g. V3ProtocolPaymentRailsSepolia, V3ProtocolPaymentRailsBase).
  • ts/index.ts — generated TypeScript twin (chain-keyed address maps + a getAddress helper, no runtime deps).

src/ and ts/ are generated and committed. Do not hand-edit them — run bun run generate. CI fails if they drift from data/.

Usage

Solidity (forge install)

forge install credit-cooperative/address-book
import { V3ProtocolPaymentRailsSepolia } from "address-book/src/V3ProtocolPaymentRailsSepolia.sol";

contract MyContract {
    address node = V3ProtocolPaymentRailsSepolia.NODE;
}

TypeScript (npm)

bun add @credit-cooperative/address-book
import {
  v3ProtocolPaymentRails,
  getAddress,
} from "@credit-cooperative/address-book";

const node = v3ProtocolPaymentRails[11155111].Node;
const cowSwap = getAddress("v3ProtocolPaymentRails", 8453, "CowSwapModule");

How it updates

  1. A protocol repo runs just deploy …, which writes/updates its deployments/<chainId>.json, and the change is merged to main.
  2. The repo's deployments.yml workflow dispatches a deployments-updated event here.
  3. dispatch-receive.yml mirrors the changed files into data/<project>/, regenerates src/ + ts/, and opens a PR.
  4. Merging + tagging publishes the npm package and updates the forge install source.

To regenerate locally after editing data/:

bun run generate         # rewrite src/ and ts/
bun run generate:check   # CI guard: fail if committed output is stale
forge test               # sanity + (with --fork-url) on-chain code checks
bun test ts/             # TypeScript consumption tests

Multi-chain note

Addresses are not assumed identical across chains — every entry is keyed by chainId. Always confirm you are reading the library/map for the chain you are deploying against.