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

shipyard-inference

v0.2.0

Published

The always-available inference layer for the Shipyard stack. Wraps Anthropic, OpenAI, and UsePod (wallet-funded proxy) behind one LLMProvider interface.

Readme

shipyard-inference

The always-available inference layer for the Shipyard stack.

shipyard-inference wraps Anthropic, OpenAI, and UsePod behind one LLMProvider interface. The strategic goal: agents that don't get rate-limited mid-demo, deprecated overnight, or shut off by a policy change. UsePod is the always-available tier alongside frontier providers — not a replacement.

Status

Alpha — v0.2.0. All three providers are production-ready. Provider failover routing lands in a subsequent release.

| Component | Status | | -------------------------- | ------------- | | AnthropicProvider | ✅ Ready | | OpenAIProvider | ✅ Ready | | createUsePodProvider() | ✅ Ready | | withFailover() | 🚧 Next |

How UsePod works (the short version)

UsePod doesn't ship an SDK. It's a wallet-funded proxy in front of Anthropic and OpenAI. You fund a USDC balance in the UsePod dashboard, copy a per-account proxy URL, and point any existing Anthropic/OpenAI client at it. Inference is billed against your wallet instead of an API key.

createUsePodProvider() is a thin convenience that returns one of our existing providers pre-configured for that proxy.

Install

npm install shipyard-inference

Quick start

Anthropic (direct)

import { AnthropicProvider } from 'shipyard-inference'

const provider = new AnthropicProvider({
  apiKey: process.env.ANTHROPIC_API_KEY,
})

const response = await provider.chat({
  system: 'You are a helpful assistant.',
  messages: [{ role: 'user', content: 'Hello!' }],
  tools: [],
})

console.log(response.content)

UsePod (wallet-funded, no API key)

Get a token at usepod.ai/dashboard and fund the balance.

import { createUsePodProvider } from 'shipyard-inference'

const provider = createUsePodProvider({
  token: process.env.USEPOD_TOKEN, // the UUID from your dashboard
})

const response = await provider.chat({
  system: 'You are a helpful assistant.',
  messages: [{ role: 'user', content: 'Hello!' }],
  tools: [],
})

OpenAI-compatible mode:

const provider = createUsePodProvider({
  family: 'openai',
  token: process.env.USEPOD_TOKEN,
})

OpenAI (direct)

import { OpenAIProvider } from 'shipyard-inference'

const provider = new OpenAIProvider({
  apiKey: process.env.OPENAI_API_KEY,
})

const response = await provider.chat({
  system: 'You are a helpful assistant.',
  messages: [{ role: 'user', content: 'Hello!' }],
  tools: [],
})

Point any provider at a proxy

Every provider now accepts baseURL, so you can route through any OpenAI/Anthropic-compatible gateway (UsePod, OpenRouter, an internal proxy, etc.):

new AnthropicProvider({
  apiKey: 'placeholder',
  baseURL: 'https://api.usepod.ai/proxy/<your-token>',
})

Roadmap

  • v0.2 (now) — Anthropic, OpenAI, UsePod providers; baseURL passthrough on all of them.
  • NextwithFailover(primary, fallback) routing. Try primary, fall back to UsePod on retryable errors (rate-limit / outage / model-deprecated). This is what makes "always-on" real.
  • Later — Streaming, retry-with-jitter, observability hooks (failover-event log).

Related

  • Shipyard — the agent ecosystem this SDK powers
  • Dock — consumer-facing first mate (first consumer of this SDK)
  • UsePod — wallet-funded inference proxy

License

MIT © Halsey Huth