8000 GitHub - omochi/CodableToTypeScript: Generate typescript code for typing JSON from Swift Codable.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

omochi/CodableToTypeScript

Repository files navigation

CodableToTypeScript

Generate typescript code for typing JSON from Swift Codable.

Live Demo

https://omochi.github.io/CodableToTypeScript/

This demo site runs CodableToTypeScript on your browser locally by swiftwasm technology. Its also built by CodableToTypeScript, and WasmCallableKit. See source code.

Usage and Example

See test cases.

Development guide

Requirements

It needs nodejs and typescript for testing.

$ brew install node
$ npm install -g typescript

See below for details.

Testing

Test cases generate typescript codes and build them to check generated codes validity. For invocating typescript compiler, it uses $ npx tsc. So you need to install typescript on host globally.

You can skip this step by defining SKIP_TSC environment variable.

About

Generate typescript code for typing JSON from Swift Codable.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •  

Languages

0