thrift-generator

0.0.6 • Public • Published

Node Thrift Generator

An easy way to compile thrift idl files using simple configuration.

Use globally

Install

npm install -g thrift-generator

Use with configuration file (package.json is used by default)

thrift-generator --config=config-file.json

Use as a script

Install

npm install --save-dev thrift-generator

Add configuration to your package.json

{
  "thrift-generator": {
    "log": "debug",
    "generators": [
      {
        "language": [
          "js:node",
          "java"
        ],
        "idl": "**/.thrift",
        "output": "./dist"
      }
    ]
  }
}

Add as a script on your package.json

{
 "scripts": {
    "thrift": "thrift-generator"
  }
}

Configuration

TBA

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.6
    1
    • latest

Version History

Package Sidebar

Install

npm i thrift-generator

Weekly Downloads

1

Version

0.0.6

License

ISC

Unpacked Size

5.11 kB

Total Files

8

Last publish

Collaborators

  • amirbilu