🚀 Launch Week Day 3:Introducing Supply Chain Attack Campaigns Tracking.Learn More →
Socket
Book a DemoInstallSign in
Socket

proto-json

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

proto-json

protobuf thingy

latest
Source
npmnpm
Version
0.0.0
Version published
Maintainers
1
Created
Source

proto-json

Schema thingy for protobuf (with proto/json support)

npm install proto-json

Usage

var proto = require('proto-json');

var schema = proto(aprotothing);

schema.validate(obj); // returns true or false
schema.infer(obj);    // update the schema by infering stuff from obj

var json = schema.toJSON();

License

MIT

FAQs

Package last updated on 15 May 2014

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