avro-tsc
v1.0.0-alpha.7
Published
Advanced generator for generating Typescript type-definitions from AVRO-schema files
Downloads
1,096
Maintainers
Readme
AVRO-TSC
This is a alpha-version - please see section Status for overview of currently implemented features.
Installation
> npm install avro-tsc -g
Usage
Usage: avro-tsc [options] <input_dir> <output_dir>
Options:
-s, --single-file Merge all exported namespaces into one typescript file
-e, --input-extension [extension] Filter input files by extension (with leading '.') (default: .avro)
-q, --quiet No console output
-h, --help output usage information
Example
Full example project for managing schemas/AVROs with Git:
Status
Release type: Alpha
Currently supported AVRO-Schema-types:
- string
- long
- short
- boolean
- array
- record (complex types)
- enum
- union
Development
Commit message tags
- chore: Changes on build script
- docs: Documentation
- feat: New features
- fix: Bugfixes (no new features)
- refactor: Changes without affecting overall behaviour of code
- style: Style changes without changing behaviour of code
- test: Changes on tests