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 d4315ca348 Fixed version number and testing command. 9 years ago
..
binary
README.md Added README and enabled JavaScript tests on Node.js 9 years ago
data.proto
debug.js
debug_test.js
gulpfile.js Added README and enabled JavaScript tests on Node.js 9 years ago
jasmine.json Added README and enabled JavaScript tests on Node.js 9 years ago
message.js
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 Fixed version number and testing command. 9 years ago
proto3_test.js
proto3_test.proto
test.proto
test2.proto
test3.proto
test4.proto
test5.proto
test_bootstrap.js
testbinary.proto
testempty.proto

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