decoders-generator
v1.3.2
Published
Takes in a typescript file and generates a set of decoders based on the types contained therein.
Readme
decoder-generator
Takes in a typescript file and generates a set of decoders based on the types contained therein.
Installlation
npm install -g decoders-generatorUsage
Basic usage
cat ./input-file.ts | decoders-generator > outfile.tsSupport for tagged unions
cat ./input-file.ts | decoders-generator --tag=kind > outfile.ts