@marcuslongmuir/openapi-typescript-helpers
v0.1.3
Published
Types and utilities for creating framework-agnostic HTTP handlers and clients.
Downloads
175
Readme
OpenAPI TypeScript Helpers
Types and utilities for creating framework-agnostic HTTP handlers and clients.
Features
- 🔒 Type-safe with full TypeScript support
- 🌐 Helpers to create framework-agnostic HTTP handlers and clients.
- 📦 Multiple distribution formats (ESM and CJS)
- 🛠️ Easy integration with modern build tools
Installation
The package can be installed directly from npm.
npm install @marcuslongmuir/openapi-typescript-helpersUsage
TODO
API Documentation
TODO
Build
npm run buildThis will create:
- CommonJS (CJS) build
- ES Modules (ESM) build
- TypeScript declaration files
Development
# Install dependencies
npm install
# Run tests
npm test
# Type checking
npm run ts:type-check
# Linting
npm run ts:lint
npm run ts:lint:fix
# Format code
npm run ts:fmt
npm run ts:fmt:fix
# Lint and format code
npm run ts:check
npm run ts:check:fix
# All validation checks
npm run ts:validateRelease
License
MIT © Marcus Longmuir
