Jasonvdb/ts-interface-converter

Converts TypeScript interfaces to Swift and Kotlin

★ 0Forks 0JavaScriptGitHub ↗Compare

README

README

ts-interface-converter is a helper project that converts TypeScript interfaces to Swift structs that extend Codable

Installation

  1. Clone the repository to your local machine.
  2. Open a terminal and navigate to the project directory.
  3. Add your OPENAI_API_KEY to .env
  4. Run npm install to install the project dependencies.

Usage

  1. Put input files in any directory structure inside ts-input
  2. npm start

License

This project is licensed under the MIT License. See the LICENSE.md file for more details.

Contributors

Jasonvdb

Issues