Type-Safe Clients
Automatically generate TypeScript types from your OpenAPI or GraphQL schemas for complete type safety in your applications.
Type-Safe Clients
Automatically generate TypeScript types from your OpenAPI or GraphQL schemas for complete type safety in your applications.
Framework Agnostic
Works seamlessly with any JavaScript framework - Node.js, React, Vue, Angular, and more. Use in both server and browser environments.
Developer Experience
Simple CLI commands to generate clients, with support for custom headers, authentication, and request/response interceptors.
Production Ready
Battle-tested in production environments with built-in error handling, retry logic, and telemetry support.
Massimo generates optimized clients for different environments:
Node.js Client
Powered by Undici - Uses the high-performance Undici HTTP client for optimal performance in Node.js environments. Features connection pooling, HTTP/2 support, and advanced request pipelining.
Web Client
Powered by Fetch - Uses the native Fetch API for browser compatibility. Lightweight bundle size with full support for modern web standards and browser features.
Generate a typed client for your API in seconds:
# For OpenAPI (auto-detects ESM/CommonJS from package.json)npx massimo-cli http://api.example.com/openapi.json --name my-client
# For GraphQL with explicit module formatnpx massimo-cli http://api.example.com/graphql --name my-client --type graphql --module esmThen use it in your code:
import client from './my-client/my-client.mjs'
const api = await client({ url: 'http://api.example.com' })const result = await api.getUsers().d.mts and .d.cts files for module-specific type definitions