tl-transform
Translates TL to TypeScript / Flow.
Installation
$ npm i tl-transform
Usage
From command line
Flow / TypeScript
$ npx tl-transform schema.tl > a.js# or $ npx tl-transform schema.tl > a.ts
From JavaScript
// function transform: (src: string, cfg?: Config) => string const source = fsconst output = console
See also config.js.
Examples
See l82.js.