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

@quiverdepin/sdk

v0.1.0

Published

Quiver routing layer SDK — best-path routing for decentralized GPU compute.

Readme

@quiverdepin/sdk

Minimal JavaScript/TypeScript SDK for Quiver — best-path routing for decentralized GPU compute on Solana. One call routes your job to the cheapest provider, escrows payment on-chain, and gives you an endpoint to the running container — no accounts on multiple GPU networks required.

npm install @quiverdepin/sdk @solana/web3.js

Quick start

import { QuiverClient } from "@quiverdepin/sdk";
import { Keypair } from "@solana/web3.js";

const quiver = new QuiverClient({ baseUrl: "https://api.quiver.example" });

// 1) Compare prices / get the best route (no payment)
const route = await quiver.route({ gpuClass: "H100", durationHours: 1, region: "EU" });
console.log(route.offer.source, route.estimatedTotalUsd);

// 2) Submit a job: route + on-chain escrow + dispatch, in one call
const signer = Keypair.fromSecretKey(/* your devnet keypair */);
const { jobId, signature } = await quiver.submit(
  { gpuClass: "H100", durationHours: 0.25, image: "your-org/model:latest", port: 8000 },
  signer,
  { rpcUrl: "https://api.devnet.solana.com" }
);

// 3) Poll status until the container is up
let job = await quiver.status(jobId);
while (job.phase === "queued" || job.phase === "dispatching" || !job.endpointUrl) {
  await new Promise(r => setTimeout(r, 5000));
  job = await quiver.status(jobId);
}

// 4) Use your GPU container through Quiver (provider stays hidden)
console.log("endpoint:", quiver.endpoint(jobId)); // -> https://api.quiver.example/gpu/<jobId>/

API

Routing & index (no wallet)

| Method | Returns | Description | |---|---|---| | route(spec) | RouteResult | Best-path provider + price for a job spec | | routeTop(spec, n?) | RouteResult[] | Top-N candidate routes | | index(filters?) | IndexResponse | Live normalized price index (filter by source/gpuClass/region) | | stats() | StatsResponse | Aggregated index stats |

Jobs (on-chain)

| Method | Returns | Description | |---|---|---| | submit(spec, signer, opts?) | SubmitResult | Route + escrow deposit (signed by signer) + dispatch → jobId | | status(jobId) | JobStatus | Poll job phase, endpointUrl, settlement tx | | endpoint(jobId) | string | Public Quiver URL to the running container |

spec (SubmitJobSpec): { gpuClass, durationHours, region?, vramGb?, reliabilityFloor?, image?, port? }. opts: { rpcUrl?, commitment?, programId?, provider? } (defaults to devnet + the deployed program).

Auth & governance

getNonce(wallet), login(wallet, signatureBase58), me(), listProposals(status?), getProposal(id), createProposal(...), vote(id, choice).

Notes

  • submit() signs a real Solana escrow deposit_funds transaction with the provided Keypair (built for backend / AI-agent use). In the browser, build the same instruction with a wallet adapter.
  • The job runs for the paid duration on a real provider GPU; endpointUrl appears once the container is serving.
  • Errors throw QuiverApiError { status, message, body }.

MIT