UNPKG

@mocktailgpt/ts

Version:

Contract-first TypeScript SDK and mock generator for OpenAI/ChatGPT APIs. Write your API in Swagger, auto-generate strict types, prod-ready calls, and plug-and-play mocks for development and tests.

26 lines (14 loc) • 589 B
# MocktailGPT 🚧 Work In Progress — v0.0.1 🚧 MocktailGPT is a contract-first TypeScript SDK and mock generator for OpenAI/ChatGPT APIs. Describe your data contract in Swagger/OpenAPI, generate a fully typed SDK with mocks and prod-ready calls, all in one shot. This package is currently in early development. More features and documentation coming soon! ## Install npm install @mocktailgpt/ts ## Usage import { cheers } from '@mocktailgpt/ts' console.log(cheers()) // šŸø Welcome to MocktailGPT! (WIP release) ## License MIT Made with love and strictly typed cocktails.