1.2.1 • Published 4 years ago
proto-generator v1.2.1
proto-generator
Proto-generator is a package for protocol buffers in node.
Installation
Use the package manager npm to install proto-generator.
npm install proto-generator
Proto from github
Use the getProtoFile method to get your .proto from another service in github into your own code.
Generate your .proto
Use the generateProto method to generate your .proto into node and typescript!
Usage
const protoGenerator = require('proto-generator');
options = {
repositoryOwner: 'myGithubUser',
repository: 'myRepo',
githubProtoPath: 'proto/myProto.proto',
githubBranch: 'master',
}
protoGenerator.getProtoFile('myProto.proto' , options) # creates a new proto folder with the proto file inside
protoGenerator.generateProto('proto/myProto.proto') # generates the proto file into node and typescript
1.2.1
4 years ago
1.2.0
4 years ago
1.1.6
4 years ago
1.1.5
4 years ago
1.1.4
4 years ago
1.1.3
4 years ago
1.1.2
4 years ago
1.1.1
4 years ago
1.1.0
4 years ago
1.0.12
4 years ago
1.0.11
4 years ago
1.0.10
4 years ago
1.0.9
4 years ago
1.0.8
4 years ago
1.0.7
4 years ago
1.0.6
4 years ago
1.0.5
4 years ago
1.0.4
4 years ago
1.0.3
4 years ago
1.0.2
4 years ago
1.0.1
4 years ago
1.0.0
4 years ago