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

@crevio/sdk

v0.6.6

Published

The official TypeScript SDK for the Crevio API — products, checkouts, orders, customers, sites, and email.

Readme

@crevio/sdk

Developer-friendly & type-safe Typescript SDK specifically catered to leverage @crevio/sdk API.

[!IMPORTANT] This SDK is not yet ready for production use. To complete setup please follow the steps outlined in your workspace. Delete this section before > publishing to a package manager.

Summary

Crevio API V1: API for the Crevio creator platform — a multi-tenant SaaS for digital product sales. Uses snake_case keys following Stripe conventions. All resource IDs are string IDs (e.g., "prod_abc123").

Table of Contents

SDK Installation

The SDK can be installed with either npm, pnpm, bun or yarn package managers.

NPM

npm add @crevio/sdk

PNPM

pnpm add @crevio/sdk

Bun

bun add @crevio/sdk

Yarn

yarn add @crevio/sdk

[!NOTE] This package is published with CommonJS and ES Modules (ESM) support.

Requirements

For supported JavaScript runtimes, please consult RUNTIMES.md.

SDK Example Usage

Example

import { Crevio } from "@crevio/sdk";

const crevio = new Crevio({
  apiKey: process.env["CREVIO_API_KEY"] ?? "",
});

async function run() {
  const result = await crevio.account.get();

  console.log(result);
}

run();

Authentication

Per-Client Security Schemes

This SDK supports the following security scheme globally:

| Name | Type | Scheme | Environment Variable | | -------- | ------ | ------- | -------------------- | | apiKey | apiKey | API key | CREVIO_API_KEY |

To authenticate with the API the apiKey parameter must be set when initializing the SDK client instance. For example:

import { Crevio } from "@crevio/sdk";

const crevio = new Crevio({
  apiKey: process.env["CREVIO_API_KEY"] ?? "",
});

async function run() {
  const result = await crevio.account.get();

  console.log(result);
}

run();

Available Resources and Operations

Access

Account

  • get - Get current account
  • update - Update current account

Ads

Ads.AdAccounts

Ads.AdGroups

Ads.Audiences

  • list - List custom audiences
  • create - Create custom audience
  • get - Retrieve custom audience
  • delete - Delete custom audience
  • addUsers - Upload audience users

Ads.Campaigns

Ads.Conversions

  • send - Send conversions

Ads.LeadForms

Ads.Leads

Ads.Pixels

Ads.Reports

Ads.Targeting

ApiKeys

Approvals

  • list - List approvals
  • get - Get an approval
  • approve - Approve an action
  • deny - Deny an action

Audio

BlogCategories

  • list - List blog categories
  • get - Get blog category

BlogPosts

Bookings

Calls

Chapters

CheckoutLinks

  • list - List checkout links
  • create - Create checkout link
  • get - Get checkout link
  • update - Update checkout link
  • delete - Delete checkout link

Checkouts

  • create - Create checkout session
  • get - Get checkout

Connections

Customers

Deployments

Discounts

Domains

Email.Domains

  • list - List sending domains
  • get - Get a domain
  • verify - Verify a domain

Email.Drafts

Email.Inboxes

Email.Inboxes.Drafts

Email.Inboxes.Events

  • list - List inbox events

Email.Inboxes.Messages

Email.Inboxes.Threads

Email.Messages

Email.Threads

Emails

Events

  • list - List subscribable events

EventSessions

  • get - Get event session
  • update - Update event session
  • delete - Delete event session
  • list - List event sessions
  • create - Create event session

EventSources

EventTypes

  • list - List event types
  • create - Create an event type
  • get - Retrieve an event type
  • update - Update an event type
  • delete - Delete an event type
  • slots - List available slots

Experiences

  • list - List experiences
  • create - Create experience (course, digital download, forum, event, link, etc.)
  • get - Get experience
  • update - Update experience
  • delete - Delete experience

Experiences.Files

  • list - List digital download files
  • create - Upload digital download files
  • delete - Delete digital download file

Experiences.Grants

  • list - List experience grants
  • create - Grant experience access
  • delete - Revoke experience access

Files

FormationDocuments

  • list - List formation documents
  • download - Download formation document

Formations

Forms

FormSubmissions

  • list - List form submissions
  • create - Create form submission
  • get - Get form submission

ForumPosts

Images

Invoices

Jobs

LegalPages

  • list - List legal pages
  • get - Get legal page
  • update - Update legal page

Lessons

Lessons.Files

LinkItems

Logs

  • list - List activity log events

Me

  • get - Get current user profile

OrderItems

  • get - Get order item
  • list - List order items

Orders

PhoneConsents

  • list - List call consents
  • create - Record call consent
  • revoke - Revoke call consent

PhoneNumbers

  • list - List phone numbers
  • create - Provision a phone number
  • get - Get a phone number
  • delete - Release a phone number
  • update - Update a phone number

PhoneSuppressions

  • list - List do-not-call entries
  • create - Add a do-not-call entry
  • delete - Remove a do-not-call entry

PriceVariants

Products

Refunds

Reviews

Schedules

Sites

Skills

Socials

Status

  • get - Get API status

Subscriptions

  • list - List subscriptions
  • get - Get subscription
  • cancel - Cancel subscription
  • pause - Pause subscription
  • resume - Resume subscription

Tags

TaskRuns

Tasks

Topics

Usage

Users

Video

Web

WebhookEndpoints

  • list - List webhook endpoints
  • create - Create webhook endpoint
  • listEventTypes - List available webhook event types
  • get - Get webhook endpoint
  • update - Update webhook endpoint
  • delete - Delete webhook endpoint
  • test - Test webhook endpoint

WebhookEvents

  • list - List webhook events
  • get - Get webhook event

Standalone functions

All the methods listed above are available as standalone functions. These functions are ideal for use in applications running in the browser, serverless runtimes or other environments where application bundle size is a primary concern. When using a bundler to build your application, all unused functionality will be either excluded from the final bundle or tree-shaken away.

To read more about standalone functions, check FUNCTIONS.md.