Skip to content

itanka9/json2pbf

 
 

Repository files navigation

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.

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 98.3%
  • JavaScript 1.7%