0.0.6 • Published 7 years ago

thrift-generator v0.0.6

Weekly downloads
2
License
ISC
Repository
github
Last release
7 years ago

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

0.0.6

7 years ago

0.0.5

7 years ago

0.0.4

7 years ago

0.0.3-alpha.1

7 years ago

0.0.3

7 years ago

0.0.1

7 years ago