Skip to main content

About Krema

Krema is an unofficial TypeScript SDK for the Creem API that provides type-safe access to Creem’s payment features. It includes utilities for generating type definitions from your Creem products and managing checkouts, licenses, and discount codes.

Features

  • Type Generation: Generate TypeScript type definitions from your Creem API products
  • Checkout Sessions: Create checkout sessions with type-safe product references
  • License Management: Activate, validate, and deactivate licenses
  • Discount Codes: Create and manage percentage and fixed-amount discount codes
  • CLI Tool: Command-line interface for generating types
  • Configuration: Support for .env files or .kremarc configuration file

Stack

  • TypeScript
  • Creem API

Resources