Name: nodejs-proto-files
Owner: Google APIs
Description: All of the Google API's protocol buffer files
Created: 2016-01-18 21:44:47.0
Updated: 2018-05-22 18:31:36.0
Pushed: 2018-05-22 18:31:33.0
Homepage: null
Size: 570
Language: JavaScript
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
Get a copy of the googleapis proto files into your project.
Read more about the client libraries for Cloud APIs, including the older Google APIs Client Libraries, in Client Libraries Explained.
Table of contents:
m install --save google-proto-files
protoFiles = require('google-proto-files')
oFiles('logging', 'v2')
ode_modules/google-proto-files/google/logging/v2
oFiles.pubsub.v1
ode_modules/google-proto-files/google/pubsub/v1/pubsub.proto
oFiles.load('path/to/file.proto').then(function(root) {
r MyService = root.lookup('example.MyService')
root = protoFiles.loadSync('path/to/file.proto');
MyService = root.lookup('example.MyService');
This library follows Semantic Versioning.
This library is considered to be in alpha. This means it is still a work-in-progress and under active development. Any release is subject to backwards-incompatible changes at any time.
More Information: Google Cloud Platform Launch Stages
Contributions welcome! See the Contributing Guide.
Apache Version 2.0
See LICENSE