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