🚀 Big News:Socket Has Acquired Secure Annex.Learn More →
Socket
Book a DemoSign in
Socket

@2gis/json2pbf

Package Overview
Dependencies
Maintainers
10
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@2gis/json2pbf

Simple JSON <-> protobuf codec

latest
Source
npmnpm
Version
1.1.4
Version published
Maintainers
10
Created
Source

json2pbf

Simple JSON <-> protobuf codec

Install

npm i -S @2gis/json2pbf

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

Publish

npm version  patch | minor | major
npm run build
npm publish --access=public

License

This project is licensed under the MIT License.

FAQs

Package last updated on 18 Dec 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts