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

pricekit

v0.1.2

Published

Pricing copilot for Dodo Payments credit billing — recommends your pricing model, computes the numbers in the open, provisions test-mode billing, and verifies the wiring.

Readme

pricekit

Know what to charge — then ship it. pricekit is a pricing copilot for Dodo Payments credit billing: your coding agent reads your app, pricekit's deterministic engine recommends a pricing model and computes the numbers in the open (using the frameworks from Dodo's Pricing in the AI Age report), provisions the billing objects in test mode, hands your agent a one-line integration task, and then proves the wiring with deterministic checks.

Agents write code. Calculators do arithmetic. Pricing math is exactly the thing you never let a model improvise.

Community project — not affiliated with or endorsed by Dodo Payments.

Quickstart (~15 minutes)

In your own app's directory — no clone needed, npx fetches pricekit for you:

# .env:  DODO_PAYMENTS_API_KEY=<your TEST MODE key>
  1. Plan — your agent builds the app profile (see skill/SKILL.md Step 0), then: npx pricekit plan --app myapp --profile '<json>' → THE PLAN prints: cost/action, credit price at your margin, tier, overage, rollover, promo. Every number shown. Every number overridable.
  2. Provisionnpx pricekit provision → meter + credit entitlement + product created in your Dodo test account (idempotent: re-runs create nothing new). Prints the one manual webhook step.
  3. Integrate — paste the printed line into your coding agent: "Read skill/SKILL.md and integrate this billing into the app. When finished, run npx pricekit verify --json and fix anything red."
  4. Provenpx pricekit verify → 7 checks: env → objects → real checkout → real usage event → forged webhook rejectedsigned webhook handled → balance readable. Green means wired. Not "probably wired".

Developing pricekit itself (not integrating it into an app)? Clone this repo and use npm run plan / npm run provision / npm run verify instead — same scripts, run locally.

What it provisions (trust defaults)

| Object | Values | |---|---| | Meter | count aggregation, 1 event = 1 action | | Credit entitlement | custom unit, precision 0, 30-day expiry, rollover 50% (1 mo), overage +25% invoiced at billing | | Product | $tier/mo usage-based price, credits granted per cycle, low-balance alert at 10% |

Everything is tagged metadata.pricekit — provisioning is idempotent and auditable. Test mode is hardcoded; pricekit refuses to touch live data regardless of the key you give it.

How the recommendation works

Ordered rules compiled from the report — first match wins, citations printed:

no paying users        → flat-simple     (Ch.10 Phase 1: "simplicity is a feature")
api-first              → usage-metered   (Q2: devs punish paying for what they don't use)
autonomous trigger     → usage-metered   (Ch.4: autonomy axis)
countable + user-run   → saas-hybrid     (Q1 + Ch.5: credits for countable value)
else                   → saas-hybrid     (Ch.10 default)
replaces human task    → note only: outcome-based "worth exploring — earn it" (Ch.7)

Blueprints

| Blueprint | For | Status | |---|---|---| | saas-hybrid | chat/job-style apps | shipped | | usage-metered | API-first, agent-driven | shipped | | flat-simple | pre-PMF | shipped | | growth-loop (referrals in credits) | — | community bounty | | agent-budgets (spend-capped agents) | — | community bounty |

FAQ

  • Auth? Better Auth users: prefer @dodopayments/better-auth.
  • Live mode? Not in v1 — deliberately. Flip your keys and re-provision when you're ready.
  • Stripe? This is Dodo-native by design: the credit ledger, meters, and merchant-of-record tax handling are the point.

Roadmap

replay (re-run the math when model prices drop) · growth-loop · agent-budgets.

MIT © contributors