Skip to main content
The InsForge TypeScript SDK provides a type-safe client for interacting with InsForge services from JavaScript and TypeScript applications.

Installation

Find the anon key with npx @insforge/cli secrets get ANON_KEY, or in the dashboard: click Install and open API Keys.

Quick start

Features

  • Database - Type-safe CRUD operations with PostgREST
  • Authentication - Email/password and OAuth authentication
  • Storage - File upload, download, and management
  • Functions - Invoke serverless edge functions
  • AI - Chat completions and image generation
  • Realtime - WebSocket-based pub/sub messaging
  • Payments - Provider-scoped Stripe and Razorpay payment helpers

SDK reference

Database

CRUD operations, filters, and queries

Authentication

Sign up, sign in, OAuth, and user management

Storage

File upload, download, and management

Functions

Invoke serverless edge functions

AI

Chat completions and image generation

Realtime

WebSocket pub/sub messaging

Payments

Provider-scoped Stripe and Razorpay payment helpers