pomelo-protobuf : Protobuf protocol is a high efficient binary protocol for data encode, this module implement the protobuf protocol, and used in [pomelo](https://github.com/NetEase/pomelo) for data transfer. Of course, pomelo-protobuf can also be used independently in other projects. ##Architecture Unlike the google protobuf, we provide a universal encoder and decoder in pomelo-protobuf. We use protos file as meta data to encode/decode messages, so you do not need to add any code to your project, instead , what . You can installing pomelo-protobuf npm packages, there are two ways to install this module locally and globaly. -g option is specified to global. Execute the below command.
$ sudo npm install pomelo-protobuf $ sudo npm install -g pomelo-protobuf
If want to update the pomelo-protobuf package execute the command as below,
$ sudo npm update pomelo-protobuf
Update package globally,
$ npm install -g pomelo-protobuf
$ sudo git clone https://github.com/rektide/pomelo-protobuf.git
$ sudo npm install -g ./pomelo-protobuf
pomelo-protobuf@0.4.0 /usr/lib/node_modules/pomelo-protobuf
You can uninstall or remove this package from your node_modules run the command as below,
$ sudo npm uninstall pomelo-protobuf
| Package Name | pomelo-protobuf |
| Version | 0.4.0 |
| Description | Protobuf protocol is a high efficient binary protocol for data encode, this module implement the protobuf protocol, and used in [pomelo](https://github.com/NetEase/pomelo) for data transfer. Of course, pomelo-protobuf can also be used independently in other projects. ##Architecture Unlike the google protobuf, we provide a universal encoder and decoder in pomelo-protobuf. We use protos file as meta data to encode/decode messages, so you do not need to add any code to your project, instead , what |
| Released Date | 2013-08-22T08:29:00.602Z |
| Published by | fantasyni |
| How to Learn | https://www.npmjs.com/package/pomelo-protobuf/tutorial |