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

@confera/sdk

v1.0.1

Published

TypeScript SDK for Confera CMS API

Downloads

38

Readme

Confera Public API TypeScript SDK

Official TypeScript/JavaScript SDK for the Confera Public API (API-key authenticated).

Designed for simple, safe integrations:

  • Server-side usage (API keys are secrets).
  • Small, predictable methods.
  • Clear errors with HTTP status codes.

Installation

pnpm add @confera/sdk

Quick start (copy/paste)

import { createConferaPublicClient } from "@confera/sdk";

const confera = createConferaPublicClient({
  baseUrl: "https://your-domain",
  apiKey: process.env.CONFERA_API_KEY!,
});

// 1) Health check
await confera.health();

// 2) Schedule events
const events = await confera.events.list({ limit: 50, offset: 0 });

// 3) Badge check-in (kiosk)
await confera.badges.checkin({ qr: "ABC123", location: "kiosk-1" });

Registrations example

External registration flow: fetch config → submit registration.

const cfg = await confera.registrations.getConfig();
if (!cfg.data.public_registration_enabled)
  throw new Error("Registrations are closed");

const created = await confera.registrations.create({
  firstName: "Aisha",
  lastName: "Khan",
  email: "[email protected]",
  ticketTypeId: "<ticket_type_id>",
  paymentMethodId: "<payment_method_id>",
  paymentReference: "TXN-12345",
  paymentProofUrl: "https://example.com/receipt.png",
});

console.log(created);

Security rules (important)

  • Keep API keys on the server (never in the browser).
  • Use the smallest scopes you need when creating a key.
  • Revoke leaked keys immediately.
  • Keys automatically stop working when the conference is not live or the plan ends.

Errors

Requests throw a ConferaApiError on non-2xx responses.

import { ConferaApiError } from "@confera/sdk";

try {
  await confera.health();
} catch (e) {
  if (e instanceof ConferaApiError) {
    console.log(e.status, e.code, e.message);
  }
}

What’s included

  • health()
  • website.getSite()
  • Events
    • events.list(), events.listVenues(), events.listSpeakers()
    • events.listWorkshops(), events.registerForWorkshop(), events.listWorkshopRegistrations(), events.getWorkshopRegistration()
    • Workshop proof helpers: events.createWorkshopPaymentProofUploadUrl(), events.uploadWorkshopPaymentProof(), events.setWorkshopPaymentProof()
  • Abstracts
    • Public: abstracts.listAccepted(), abstracts.getAcceptedById()
    • Submissions + uploads: abstracts.createAttachmentUploadUrl(), abstracts.uploadAttachment(), abstracts.submit(), abstracts.listSubmissions(), abstracts.getSubmission()
  • Exhibition
    • Public: exhibition.listExhibits()
    • Submissions + uploads: exhibition.createSubmissionPaymentProofUploadUrl(), exhibition.uploadSubmissionPaymentProof(), exhibition.submitExhibit()
  • Registrations
    • registrations.getConfig(), registrations.searchUniversities(), registrations.list(), registrations.get(), registrations.getReceiptUrl(), registrations.create()
    • Receipt upload helpers: registrations.createEvidenceUploadUrl(), registrations.uploadEvidence()
  • Check-ins
    • badges.checkin()
    • attendance.checkin()