Simple JSON <-> protobuf codec
npm i -S git+https://github.com/itanka9/json2pbf.git
Simple usage
import { packJson, unpackJson } from 'json2pbf';
const json = { foo: ['bar', 'baz'] }
const packed = packJson(json);
const unpacked = unpackJson(packed);
TBD
Install deps
npm i
To start the demo server, run:
npm start
Build
npm run build
This project is licensed under the MIT License.