Protocol Buffers - Google's data interchange format (grpc依赖) https://developers.google.com/protocol-buffers/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Josh Haberman 5394fdb641 Enable JavaScript tests for binary parse/serialize. 9 years ago
..
binary Enable JavaScript tests for binary parse/serialize. 9 years ago
README.md Added README and enabled JavaScript tests on Node.js 9 years ago
data.proto Down-integrate from internal code base. 10 years ago
debug.js Down-integrate from internal code base. 10 years ago
debug_test.js Down-integrate from internal code base. 10 years ago
gulpfile.js Added README and enabled JavaScript tests on Node.js 9 years ago
jasmine.json Enable JavaScript tests for binary parse/serialize. 9 years ago
message.js Down-integrate from internal code base. 10 years ago
message_test.js Added README and enabled JavaScript tests on Node.js 9 years ago
node_loader.js Added README and enabled JavaScript tests on Node.js 9 years ago
package.json Enable JavaScript tests for binary parse/serialize. 9 years ago
proto3_test.js Down-integrate from internal code base. 10 years ago
proto3_test.proto Down-integrate from internal code base. 10 years ago
test.proto Down-integrate from internal code base. 10 years ago
test2.proto Down-integrate from internal code base. 10 years ago
test3.proto Down-integrate from internal code base. 10 years ago
test4.proto Down-integrate from internal code base. 10 years ago
test5.proto Down-integrate from internal code base. 10 years ago
test_bootstrap.js Down-integrate from internal code base. 10 years ago
testbinary.proto Down-integrate from internal code base. 10 years ago
testempty.proto Down-integrate from internal code base. 10 years ago

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