Skip to content

valitydev/frontend-thrift-codegen

Frontend Thrift Codegen CLI

This project allows generation of JS client library, typings and json metadata automatically given a thrift spec.

Usage

thrift-codegen [options]

Options:

  • -i, --inputs - List of thrift file folders for compilation. [array] [required]
  • -n, --namespaces - List of service namespaces which will be included. [array] [required]

Testing

  • Copy thrift spec to proto directory. For example damsel.

  • Run

npm run codegen -- --i ./proto --n domain_config
  • Codegen client will be available in dist directory.

About

No description or website provided.

Topics

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Packages

No packages published

Contributors 5