@field123/ep-ts-converting
TypeScript icon, indicating that this package has built-in type declarations

0.1.3 • Public • Published

@field123/ep-ts-converting

Install

yarn add -D @field123/ep-ts-converting @field123/io-ts-excess fp-ts io-ts

Usage

npx ep-ts-converting <source> <dest>
npx ep-ts-converting ./types/animals.ts ./output
npx ep-ts-converting ./types/animals.ts ./output --exact --tests --testsDir=./output/tests
Key CLI opt Default Description
exact --exact false Should the output decoders fail if provided extra properties?
tests --tests false Scaffold out tests for the generated decoders
testsDir --tests-dir <dir> <dest> What should the output directory for the scaffolded tests be?
help -h, --help n/a display help for command

Readme

Keywords

none

Package Sidebar

Install

npm i @field123/ep-ts-converting

Weekly Downloads

1

Version

0.1.3

License

none

Unpacked Size

116 kB

Total Files

24

Last publish

Collaborators

  • field123