Skip to content

Latest commit

 

History

History
26 lines (17 loc) · 341 Bytes

README.md

File metadata and controls

26 lines (17 loc) · 341 Bytes

transform-cli

Transforms JSON into various type definitions

Currently supports:

  • JSON -> Flow
  • JSON -> TypeScript
  • JSON -> React PropTypes

Usage

  -t --to  <output>  set output format

Example:

curl <someurl> | ./index.js -t flow

TODO

  • Publish as NPM package
  • Support the rest of the transformations