Sample code of Protocol Buffers service interface.
brew install yarn --without-node
yarn install
$ yarn --version
1.9.4
$ node --version
v10.10.0
tools/gen.sh
Listening on server.
$ yarn server
Listening on port 3000..
Connect by client.
$ yarn client
GetProfile: {"name":"taro","bio":"He loves protocol buffers."}