tree: 3e88a09757312db3f45e676d064a5a424d369285 [path history] [tgz]
  1. binary/
  2. commonjs_export.js
  3. data.proto
  4. debug.js
  5. debug_test.js
  6. gulpfile.js
  7. jasmine.json
  8. jasmine_commonjs.json
  9. message.js
  10. message_test.js
  11. node_loader.js
  12. package.json
  13. proto3_test.js
  14. proto3_test.proto
  15. README.md
  16. test.proto
  17. test2.proto
  18. test3.proto
  19. test4.proto
  20. test5.proto
  21. test_bootstrap.js
  22. testbinary.proto
  23. testempty.proto
js/README.md

This directory contains Protocol Buffer support for JavaScript. This code works in browsers and in Node.js.

The packaging work for this is still in-progress. For now you can just run the tests. First you need to build the main C++ distribution because the code generator for JavaScript is written in C++:

$ ./autogen.sh $ ./configure $ make

Then you can run the JavaScript tests in this directory:

$ cd js && gulp test