JSON to TypeScript Interface Converter
A Visual Studio Code extension that converts JSON files into TypeScript interfaces.
Features
- Converts JSON properties to camelCase.
- Generates TypeScript interfaces for nested JSON objects.
- Infers types from JSON values.
Installation
- Install from the Visual Studio Code Marketplace.
- Open a JSON file and run the command
Convert JSON to TypeScript Interface .
Usage
- Open a JSON file in VS Code.
- Open the command palette (Ctrl+Shift+P) and select
Convert JSON to TypeScript Interface .
- A new TypeScript file with the interfaces will be created and opened.
Contributing
Contributions are welcome! Please open an issue or submit a pull request on GitHub.
License
This project is licensed under the MIT License - see the LICENSE file for details.
| |