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

@bridgenode/llm

v1.0.5

Published

BridgeNode LLM client — AI inference for AI agents with x402 payment on Solana USDC. No API keys, no registration.

Readme

@bridgenode/llm

npm version JSR JSR Score npm downloads License: MIT-0 CI Website BridgeNode on x402-list

Built for AI agents — no API keys, no registration, pay-as-you-go with Solana USDC via x402.

BridgeNode TypeScript SDK — AI inference for AI agents, no API keys. Payment: Solana USDC via x402 (automatic handshake, fee sponsorship — no SOL needed for the agent).

Installation

npm install @bridgenode/llm

Usage

import { LLMClient } from "@bridgenode/llm";

const client = new LLMClient(); // key from .env (BRIDGENODE_WALLET_KEY)
const resp = await client.chat("deepseek-v4-flash", [
  { role: "user", content: "Hello!" }]);
console.log(resp.choices[0].message.content);

Everything is handled automatically: 402 → partial TX → PAYMENT-SIGNATURE → 200. No API key required.

.env

# Required — your Solana wallet private key (base58)
BRIDGENODE_WALLET_KEY=***
# Optional:
# BRIDGENODE_BASE_URL=https://bridgenode.cc/v1
# BRIDGENODE_MAX_PER_CALL=0.05   # spending policy: max USD per call (fail-closed)
# BRIDGENODE_DAILY_CAP=1.0       # spending policy: max USD per day

Security

  • Receipt verification (Free-Riding protection): after 200, PAYMENT-RESPONSE is verified — success, network, payer, fee payer Ed25519 signature over our TX message, amount. Invalid receipt → BridgenodeError.
  • Spending policy (fail-closed): BRIDGENODE_MAX_PER_CALL + BRIDGENODE_DAILY_CAP — checked BEFORE signing; exceeded → blocked, no payment.
  • SIWX: automatic known-agent identification — falls back to payment if auth fails.

API

client.chat(model, messages, { maxTokens?, mode? });  // mode: "auto" | "eco" | "premium"

Requirements

  • Node ≥ 20
  • Solana wallet with USDC ATA (rent — agent's responsibility)

Python SDK

Prefer Python? The same BridgeNode toolkit is on PyPI:

  • Python SDK: pip install bridgenode-llm → https://pypi.org/project/bridgenode-llm
  • CLI: pip install bridgenode-cli → https://pypi.org/project/bridgenode-cli
  • Full toolkit (SDK + CLI): pip install bridgenode → https://pypi.org/project/bridgenode

Links

  • Website: https://bridgenode.cc
  • Protocol: x402 V2 (docs.x402.org)

Community

  • Moltbook agent profile: https://moltbook.com/u/bridgenode_eli
  • Discord: https://discord.gg/HUpVKxJxhG
  • X (Twitter): https://x.com/eliBNx