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

@kipurse/sdk

v0.1.0

Published

Kipurse agent SDK: connect any agent framework to an owner-controlled Kipurse USDC wallet gateway (parse, preflight, pay exactly once, limits, merchant info).

Readme

@kipurse/sdk 0.1 (unpublished, M1)

Zero-dependency client for a Kipurse gateway. The SDK holds no wallet keys; the gateway enforces the owner's on-chain caps, fixed term, trust tiers and exactly-once payment.

import {KipurseClient, wrapFetch} from '@kipurse/sdk';
const kp = new KipurseClient({baseUrl: 'http://127.0.0.1:8650', token: process.env.KIPURSE_AGENT_TOKEN});
const p = await kp.parse({uri: 'ethereum:0x8335…2913@8453/transfer?address=0x…&uint256=10000'}, {intentId: 'team-goal-1'});
const f = await kp.preflight({parsedId: p.parsedId});        // canPay, reasons[], tier, remainingAfter, simulation
if (f.canPay) await kp.pay({parsedId: p.parsedId, intentId: 'team-goal-1'});
const paidFetch = wrapFetch(kp, {maxAmount: '50000'});         // x402 resources: pay once per URL (+repeatKey)

Purchase identity: same merchant reference (signed order id, merchant order id, Stripe PI, Coinbase checkout id, MPP challenge, x402 resource URL) ⇒ same purchase, whichever agent and intentId. Use repeatKey to buy the same thing again on purpose. Requests without any merchant reference need intentId or repeatKey.

MCP equivalent: src/v5/mcp-main.mjs exposes the same operations as kipurse_* tools. Full guide for third-party agents: ../docs/THIRD_PARTY_AGENTS.md

Pay anything (merchants need no integration)

// plain address + amount from the merchant's checkout page; merchant + orderRef = exactly-once key
await client.payAny({payment:{to:'0xPayeeAddress', amount:'12.50'}, merchant:'exampleshop.example', orderRef:'BG-10023'});
await client.payAny({payment:'ethereum:0x8335…2913@8453/transfer?address=0x…&uint256=12500000', merchant:'shop', orderRef:'A-7'});
await client.payAny({payment:'https://api.example.com/paid-resource'});            // x402 / MPP
await client.payAny({payment:stripePaymentIntent});                                 // deposit mode, id = pi_…
await client.parseAny({payment:{to:'0x…', amount:'1.00'}, merchant:'m', orderRef:'1'}); // route + tier + key, never pays

Signed EIP-712 orders are optional. Solana Pay links return solana_not_supported_yet. See ../MERCHANTS.md.