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

clawpipe-ai

v3.7.0

Published

The intelligent AI pipeline. Booster, Context Packing, Caching, Smart Routing, Multi-Provider Gateway, Budget Caps, Rate Limiting, Circuit Breaker, Audit Logging — all in one SDK.

Readme

clawpipe-ai

The only AI gateway SDK that skips LLM calls entirely.

npm version license: MIT bundle size

ClawPipe is an LLM pipeline that sits between your app and providers. The Booster stage answers deterministic prompts (math, regex, dates, hashes, JSON shaping, 246 rules across 29 packs) with zero LLM tokens — sub-millisecond, free. Everything else flows through context packing, prompt cache, smart routing, multi-provider gateway, and a self-learning router that gets cheaper over time.

Drop it in front of your existing OpenAI or Anthropic code with no logic changes.

Public measured benchmark in progress at github.com/finsavvyai/clawpipe-booster-benchmark. Per-bucket cost-reduction numbers (with 95% Wilson CIs) will replace the prior in-house synthetic benchmark on this page once the measured run lands.

Quick start

npm install clawpipe-ai
import { ClawPipe } from 'clawpipe-ai';

const pipe = new ClawPipe({
  apiKey: process.env.CLAWPIPE_API_KEY!,
  projectId: 'proj_xxx',
});

const result = await pipe.prompt('What is 2 + 2?');
console.log(result.text);  // "4"
console.log(result.meta);  // { boosted: true, cached: false, tokensIn: 0, ... }

The Booster answered locally — zero tokens, zero latency, zero cost. Try a non-deterministic prompt (pipe.prompt('Write a haiku about TypeScript')) and the pipeline routes it to the cheapest viable model that meets your quality target.

Pipeline stages

| Stage | What it does | |------------|---------------------------------------------------------------| | Booster | Deterministic transforms — skip LLM calls entirely. | | Packer | Compress context to reduce tokens before send. | | Cache | Hash-based prompt dedup (local + remote KV). | | Router | Cost / quality / latency-aware model selection. | | Gateway | Multi-provider dispatch with failover and circuit breaking. | | Learner | Tracks outcomes, refines routing weights per task type. |

Every stage is independently toggleable in the ClawPipe config.

Supported providers

ai21, anthropic, azure-openai, bedrock, cerebras, cohere, databricks, deepseek, fireworks, gemini, groq, huggingface, mistral, openai, openrouter, perplexity, replicate, together, vertex, writer, xai.

Drop-in compat layers for OpenAI (clawpipe-ai/openai-compat) and Anthropic (clawpipe-ai/anthropic-compat) so existing code keeps working.

Open source SDK + paid hosted service

This SDK is MIT-licensed and free to use. The hosted gateway at clawpipe.ai — which provides the multi-provider dispatch, distributed cache, learner weights, and analytics — is operated by ClawPipe and billed via LemonSqueezy. You can self-host the gateway from this SDK if you prefer; the hosted service exists so you don't have to.

Links

Contributing

See CONTRIBUTING.md. All contributions are governed by our Code of Conduct.

License

MIT — see LICENSE.