protobuf/js
2016-02-18 10:30:21 -08:00
..
binary Fixed nested message scopes for CommonJS. 2016-02-18 10:30:21 -08:00
commonjs Fixed nested message scopes for CommonJS. 2016-02-18 10:30:21 -08:00
data.proto Down-integrate from internal code base. 2015-12-11 17:10:28 -08:00
debug_test.js CommonJS tests are now passing. 2016-02-18 10:30:21 -08:00
debug.js Down-integrate from internal code base. 2015-12-11 17:10:28 -08:00
gulpfile.js Moved CommonJS-specific files to commonjs/. 2016-02-18 10:30:21 -08:00
jasmine.json Enable JavaScript tests for binary parse/serialize. 2016-02-02 15:54:59 -08:00
message_test.js Fixed nested message scopes for CommonJS. 2016-02-18 10:30:21 -08:00
message.js Down-integrate from internal code base. 2015-12-11 17:10:28 -08:00
node_loader.js Added README and enabled JavaScript tests on Node.js 2015-12-21 15:22:49 -08:00
package.json CommonJS tests are now passing. 2016-02-18 10:30:21 -08:00
proto3_test.js Fixed nested message scopes for CommonJS. 2016-02-18 10:30:21 -08:00
proto3_test.proto Down-integrate from internal code base. 2015-12-11 17:10:28 -08:00
README.md Added README and enabled JavaScript tests on Node.js 2015-12-21 15:22:49 -08:00
test2.proto Down-integrate from internal code base. 2015-12-11 17:10:28 -08:00
test3.proto Down-integrate from internal code base. 2015-12-11 17:10:28 -08:00
test4.proto Down-integrate from internal code base. 2015-12-11 17:10:28 -08:00
test5.proto Down-integrate from internal code base. 2015-12-11 17:10:28 -08:00
test_bootstrap.js Down-integrate from internal code base. 2015-12-11 17:10:28 -08:00
test.proto Fixed nested message scopes for CommonJS. 2016-02-18 10:30:21 -08:00
testbinary.proto Down-integrate from internal code base. 2015-12-11 17:10:28 -08:00
testempty.proto Down-integrate from internal code base. 2015-12-11 17:10:28 -08:00

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