Skip to content

Latest commit

 

History

History
53 lines (31 loc) · 538 Bytes

README.md

File metadata and controls

53 lines (31 loc) · 538 Bytes

json2pbf

Simple JSON <-> protobuf codec

Install

npm i -S git+https://github.com/itanka9/json2pbf.git

Usage

Simple usage

import { packJson, unpackJson } from 'json2pbf';

const json = { foo: ['bar', 'baz'] }

const packed = packJson(json);

const unpacked = unpackJson(packed);

Row and columnar data

TBD

Development

Install deps

npm i

To start the demo server, run:

npm start

Build

npm run build

License

This project is licensed under the MIT License.