
Security News
High Salaries No Longer Enough to Attract Top Cybersecurity Talent
A survey of 500 cybersecurity pros reveals high pay isn't enough—lack of growth and flexibility is driving attrition and risking organizational security.
protobuf.js
Advanced tools
a pure javascript protocol buffer encoding implementation, written specifically for riak
This is an extremely lightweight, stripped down, ugly implementation of protocol buffers written specifically for use in making a Riak library. As such, it lacks support for many of the data types, and handles a few Riak specific fields in special ways (vclocks, for one). I will happily accept pull requests to make it more compatible with the full spec.
var protobuf = require('protobuf.js'),
translator = protobuf.loadSchema('./riak_kv.proto');
var msg = translator.encode('RpbGetReq', { bucket: 'test', key: 'test' });
//msg will *only* contain the protobuf encoded message, *NOT* the full riak packet
var decoded = translator.decode('RpbGetResp', responsePacket);
//again, this will *only* decode the protobuf message. you have to remove the riak header yourself
FAQs
a pure javascript protocol buffer encoding implementation, written specifically for riak
We found that protobuf.js demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Security News
A survey of 500 cybersecurity pros reveals high pay isn't enough—lack of growth and flexibility is driving attrition and risking organizational security.
Product
Socket, the leader in open source security, is now available on Google Cloud Marketplace for simplified procurement and enhanced protection against supply chain attacks.
Security News
Corepack will be phased out from future Node.js releases following a TSC vote.