1.0.6 • Published 9 years ago
github-protobuf v1.0.6
Node Bindings for Github API protobuf
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.
Install
npm install github-protobufor with Yarn
yarn add github-protobufUsage
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);License
Licensed under the MIT License.