This project allows generation of JS client library, typings and json metadata automatically given a thrift spec.
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]
-
Copy thrift spec to
protodirectory. For example damsel. -
Run
npm run codegen -- --i ./proto --n domain_config- Codegen client will be available in
distdirectory.