This project contains the Node.JS bindings for the protobuf definition files for entities and events in the Github API. This bindings generated from the jhaynie/github-protobuf project.
npm install github-protobuf
or with Yarn
yarn add github-protobuf
var User = require('github-protobuf').User;
var u = new User();
u.setLogin('jhaynie');
// dump as JS object
console.log(u.toObject());
// serialize
var b = u.serializeBinary();
// deserialize
var b2 = User.deserializeBinary(b);
Licensed under the MIT License.