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

@forjio/suppuo

v0.2.0

Published

Suppuo SDK — typed JS/TS client for the suppuo.com REST API. Sister to the Python + Go SDKs.

Readme

@forjio/suppuo

Typed JS/TS client for the suppuo.com helpdesk REST API.

npm install @forjio/suppuo
import fs from "node:fs";
import { SuppuoClient } from "@forjio/suppuo";

// Bearer token from `token` or the SUPPUO_TOKEN env var — use an
// sk_live_… API key from Dashboard → Settings → API keys.
const client = new SuppuoClient({ token: "sk_live_xxx" });

// Tickets — agent workspace surface
const { tickets, counts, cursor, hasMore } = await client.tickets.list({
  status: "open",
  channel: "telegram",
  tag: "billing",
  q: "refund",
});
const ticket = await client.tickets.get(tickets[0].id);
await client.tickets.reply(ticket.id, { body: "On it!", isInternal: false });
await client.tickets.update(ticket.id, { status: "resolved", tags: ["billing", "vip"] });
const { tags } = await client.tickets.tags(); // distinct tags (autocomplete)

// Attachments — stage, bind to a reply, download
const meta = await client.attachments.upload({
  data: await fs.promises.readFile("invoice.pdf"), // Buffer or Uint8Array
  filename: "invoice.pdf",
  contentType: "application/pdf",
});
await client.tickets.reply(ticket.id, { body: "Attached.", attachmentIds: [meta.id] });
const file = await client.attachments.download(meta.id);

// Billing — current plan + upgrade checkout (tiers: free / starter / growth / business)
const { subscription, tiers } = await client.billing.get();
const { hostedUrl } = await client.billing.checkout("growth"); // redirect the browser here

// Channels — BYO integrations
const { integrations } = await client.channels.list();
await client.channels.create({ provider: "telegram_bot", botToken: "123456789:AAxxx" });
await client.channels.delete(integrations[0].id);

// Reports / settings / CSAT
const summary = await client.reports.summary({ days: 30 });
const automation = await client.settings.getAutomation();
await client.settings.putAutomation({ autoResponseEnabled: true, hideBranding: true });
const csat = await client.csat.stats();

// Canned replies
await client.cannedReplies.create({ title: "Refund policy", body: "…" });

// Public (requester) surface — no token required
const { accessToken } = await client.public.submitTicket({
  accountId: "acc_…",
  subject: "Order question",
  body: "Where is my order?",
  email: "[email protected]",
});
const view = await client.public.getTicket(accessToken);
await client.public.replyTicket(accessToken, { body: "Any update?" });

Endpoints covered

| Resource | Methods | | --- | --- | | tickets | list (status / assignee / tag / channel / priority / q / limit / cursor), tags, get, create, reply (with attachmentIds), update (status / priority / assigneeSub / tags) | | billing | get (subscription + tier table), checkout(tier) → hosted checkout URL | | channels | list, create (whatsapp_twilio / whatsapp_cloud / email_resend / telegram_bot / slack_webhook / discord_webhook), delete | | reports | summary({ days: 7 \| 30 \| 90 }) | | settings | getAutomation, putAutomation (business hours, auto-response, hideBranding) | | csat | stats | | attachments | upload (raw bytes + filename, 8MB max), download | | cannedReplies | list, create, update, delete | | public | submitTicket, getTicket, replyTicket (no token) |

Errors throw SuppuoError carrying the API envelope's error.code (NOT_FOUND, VALIDATION_ERROR, AUTH_REQUIRED, …), the HTTP status, and the meta.requestId.

See suppuo.com/docs/sdk/js for the full method reference.

Family

Sister to: