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