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

@furniops/sdk

v0.30.0

Published

The FurniOps TypeScript SDK: typed resources from the public OpenAPI spec on a zero-dependency fetch core with retries, idempotency keys, typed errors, auto-pagination and webhook verification

Readme

@furniops/sdk

The official TypeScript client for the FurniOps API.

  • Typed from the spec. Every operation in the API reference is a method, typed from the same OpenAPI document.
  • Zero dependencies. Needs only fetch and Web Crypto: Node 20+, Deno, Bun, Cloudflare Workers. ESM only.
  • Safe by default. Retries with backoff, an idempotency key on every POST reused across its retries, typed errors, auto-pagination, a reconnecting change stream and webhook verification.

Install

npm install @furniops/sdk

Use

import { FurniOps } from "@furniops/sdk";

const furniops = new FurniOps({ apiKey: process.env.FURNIOPS_API_KEY });

for await (const product of furniops.products.list({ updated_since: "2026-10-01T00:00:00Z" })) {
  console.log(product.id, product.status, product.updated_at);
}

A machine client (OAuth client credentials) gets short-lived tokens, cached and refreshed early:

import { FurniOps, clientCredentials } from "@furniops/sdk";

const furniops = new FurniOps({
  apiKey: clientCredentials({
    tokenUrl: "https://auth.furniops.com/oauth/token",
    clientId: process.env.FURNIOPS_CLIENT_ID,
    clientSecret: process.env.FURNIOPS_CLIENT_SECRET,
  }),
});

Verify a webhook from its raw body and headers:

const event = await furniops.webhooks.verify(rawBody, request.headers, process.env.FURNIOPS_WEBHOOK_SECRET);

An endpoint in batch delivery also receives change batches; verify with verifyDelivery and tell them apart with isChangeBatch:

const delivery = await furniops.webhooks.verifyDelivery(rawBody, request.headers, secret);
for (const event of isChangeBatch(delivery) ? delivery.events : [delivery]) apply(event);

Keep a connected vendor catalogue in step: connections.sync reads a snapshot of the catalogue (a products export), then the change feed from the connection's baseline, so nothing is missed or read twice. Store each cursor with what its events changed and pass it back to resume; an event whose version is at or below the product's already applied is safe to drop:

await furniops.connections.sync("con_…", {
  cursor: await store.cursor(), // absent on the first run: start with a snapshot
  onReset: () => store.clear(), // a snapshot is about to replace what was synced
  onSnapshot: (products) => store.upsert(products),
  onEvents: (events, cursor) => store.apply(events, cursor),
  signal, // follows the feed until aborted; `once: true` stops when caught up
});

A cursor older than the feed's 30-day retention is refused; the sync then starts over from a snapshot by itself.

Keep keys in environment variables or a secret manager, never in source. A test key (fo_test_…) reaches your sandbox, a live key your live data.

Documentation

Guides, the API reference and every SDK option: https://docs.furniops.com/sdk.

Licence

MIT © Softup LLC