@tangdrew/fhir-ts-codegen

0.6.0 • Public • Published

fhir-ts-codegen

Generate io-ts runtime types from FHIR StructureDefinitions.

Disclaimer

This project is still in early stages of development and should not be considered "production-ready".

Installation

npm install @tangdrew/fhir-ts-codegen -g

Usage

Usage: fhir-ts-codegen [options]

Options:
  -i, --input <dir>   input pattern to StructureDefinitions
  -o, --output <dir>  path to output directory
  -V, --version       output the version number
  -h, --help          output usage information

Example:

fhir-ts-codegen --input "./structure-definitions/**.profile.canonical.json" --output ./types

License

MIT licensed.

Readme

Keywords

Package Sidebar

Install

npm i @tangdrew/fhir-ts-codegen

Weekly Downloads

1

Version

0.6.0

License

MIT

Unpacked Size

41.5 kB

Total Files

25

Last publish

Collaborators

  • andrewtang