View Project
Typu
Typu is a simple and efficient tool to generate TypeScript types from cURL commands. It automates the process of creating TypeScript interfaces for API requests and type aliases for responses by parsing cURL command details.
Features
- Automated Type Generation: Generate TypeScript interfaces and type aliases directly from cURL commands.
- JSON Request Body Parsing: Automatically detect and parse JSON payloads to produce corresponding TypeScript types.
- Response Type Inference: Identify response types (e.g., HTML or JSON) and generate suitable type definitions.
- Easy Integration: Simplify API development by ensuring consistency and reducing manual type errors.
Contributing
Fork the repository.
Create a new branch:
git checkout -b feature/YourFeature
Make your changes.
Commit your changes:
git commit -am 'Add new feature'
Push to your branch:
git push origin feature/YourFeature
Open a Pull Request on the repository.
Built with