PageRenderTime 44ms CodeModel.GetById 14ms RepoModel.GetById 0ms app.codeStats 0ms

/client/nodejs-component/node_modules/protobufjs/README.md

https://github.com/sapo/sapo-broker
Markdown | 55 lines | 46 code | 9 blank | 0 comment | 0 complexity | 99f521d8ba8321d96dcb2302c078e987 MD5 | raw file
Possible License(s): GPL-3.0, BSD-3-Clause, CC-BY-SA-3.0, Apache-2.0
  1. ![ProtoBuf.js - Protocol Buffers for JavaScript. Finally.](https://raw.github.com/dcodeIO/ProtoBuf.js/master/ProtoBuf.png)
  2. =====================================
  3. **Protocol Buffers** are a language-neutral, platform-neutral, extensible way of serializing structured data for use
  4. in communications protocols, data storage, and more, originally designed at Google ([see](https://developers.google.com/protocol-buffers/docs/overview)).
  5. **ProtoBuf.js** is a pure JavaScript implementation on top of [ByteBuffer.js](https://github.com/dcodeIO/ByteBuffer.js)
  6. including a .proto parser, message class building and simple encoding and decoding. There is no compilation step
  7. required, it's super easy to use and it works out of the box on .proto files!
  8. [![Build Status](https://travis-ci.org/dcodeIO/ProtoBuf.js.svg?branch=master)](https://travis-ci.org/dcodeIO/ProtoBuf.js)
  9. [![Donate](https://raw.githubusercontent.com/dcodeIO/Long.js/master/donate.png)](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=info%40code-emitter.com&item_name=Open%20Source%3A%20ProtoBuf.js)
  10. Getting started
  11. ---------------
  12. * **Step 1:** Become familar with [Google's Protocol Buffers (protobuf)](https://developers.google.com/protocol-buffers/docs/overview)
  13. * **Step 2:** Head straight to [our wiki for up to date usage information, changes and examples](https://github.com/dcodeIO/ProtoBuf.js/wiki)
  14. * **Step 3:** Build something cool! :-)
  15. Features
  16. --------
  17. * [RequireJS](http://requirejs.org/)/AMD compatible
  18. * [node.js](http://nodejs.org)/CommonJS compatible, also available via [npm](https://npmjs.org/package/protobufjs)
  19. * Browser compatible
  20. * [Closure Compiler](https://developers.google.com/closure/compiler/) compatible (fully annotated, [externs](https://github.com/dcodeIO/ProtoBuf.js/tree/master/externs))
  21. * Fully documented using [jsdoc3](https://github.com/jsdoc3/jsdoc)
  22. * Well tested through [test.js](https://github.com/dcodeIO/test.js)
  23. * [ByteBuffer.js](https://github.com/dcodeIO/ByteBuffer.js) is the only production dependency
  24. * Fully compatible to the official implementation including advanced features
  25. * Small footprint (even smaller if you use a noparse build)
  26. * proto2js command line utility
  27. Documentation
  28. -------------
  29. * [Read the official protobuf guide](https://developers.google.com/protocol-buffers/docs/overview)
  30. * [Read our wiki](https://github.com/dcodeIO/ProtoBuf.js/wiki)
  31. * [Read the API docs](http://htmlpreview.github.io/?https://raw.githubusercontent.com/dcodeIO/ProtoBuf.js/master/docs/ProtoBuf.html)
  32. * [Check out the examples](https://github.com/dcodeIO/ProtoBuf.js/tree/master/examples)
  33. Tests
  34. -----
  35. * [View source](https://github.com/dcodeIO/ProtoBuf.js/blob/master/tests/suite.js)
  36. * [View report](https://travis-ci.org/dcodeIO/ProtoBuf.js)
  37. Downloads
  38. ---------
  39. * [Distributions](https://github.com/dcodeIO/ProtoBuf.js/tree/master/dist)
  40. * [ZIP-Archive](https://github.com/dcodeIO/ProtoBuf.js/archive/master.zip)
  41. * [Tarball](https://github.com/dcodeIO/ProtoBuf.js/tarball/master)
  42. Contributors
  43. ------------
  44. [Daniel Wirtz](https://github.com/dcodeIO) (maintainer), [Frank Xu](https://github.com/yyfrankyy),
  45. [Dretch](https://github.com/Dretch), [shirmin](https://github.com/shirmin), [Nikolai Vavilov](https://github.com/seishun)
  46. **License:** [Apache License, Version 2.0](http://www.apache.org/licenses/LICENSE-2.0.html) - Logo derived from [W3C HTML5 Logos](http://www.w3.org/html/logo/) (CC A 3.0)