commet
Installation
SKILL.md
Commet Integration
Commet is an all-in-one billing and payments platform. Merchant of Record handling taxes, compliance, refunds, and payouts. Integrate with a few lines of code.
Packages
| Package | Purpose | Install |
|---|---|---|
@commet/node |
Core SDK - customers, subscriptions, usage, seats, features, portal, webhooks | npm i @commet/node |
@commet/next |
Next.js helpers - webhook handler, customer portal, pricing markdown | npm i @commet/next |
@commet/ai-sdk |
Vercel AI SDK middleware - automatic AI token usage billing | npm i @commet/ai-sdk |
@commet/better-auth |
Better Auth plugin - auto customer sync, auth-scoped billing | npm i @commet/better-auth |
commet |
CLI - login, link, config push/pull, webhook forwarding, scaffold projects from templates | npm install -g commet |
Quick Start
import { Commet } from "@commet/node";