Protocpiler generates javascript or typescript files based on a proto contract.
It contains the protoc executable from Google which is used to create your wanted files.
Using npm
npm install protocpiler --save
Using yarn
yarn add protocpiler
From proto to typescript
protocpiler typescript <input_dir> <output_dir>
From proto to javascript
protocpiler javascript <input_dir> <output_dir>
This project is licensed under the MIT License - see the LICENSE.md file for details
- Build with babel