JSPM

@mocktailgpt/ts

0.0.3
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 11
  • Score
    100M100P100Q29588F
  • License MIT

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.

Package Exports

  • @mocktailgpt/ts
  • @mocktailgpt/ts/dist/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@mocktailgpt/ts) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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.