Product
Introducing Enhanced Alert Actions and Triage Functionality
Socket now supports four distinct alert actions instead of the previous two, and alert triaging allows users to override the actions taken for all individual alerts.
it-pb-rpc
Advanced tools
Readme
A convinience-wrapper arround protocol-buffers and lp-messages functions
wrap(duplex, opts)
: Wraps a duplex, returns below object (opts=Object with encode/decode opts from it-length-prefixed api)
.read(bytes)
: async, reads the given amount of bytes.readLP()
: async, reads one length-prefixed message.readPB(proto)
: async, reads one protocol-buffers length-prefixed message (proto=Object with .encode, .decode functions).write(data)
: writes the given data (data=Buffer or BufferList).writeLP(data)
: writes the given data with a length-prefixe (data=Buffer or BufferList).writePB(data, proto)
: encodes the data, then writes it withg a length-prefix (data=Buffer or BufferList, proto=Object with .encode, .decode functions).pb(proto)
: returns a convinience wrapper for writing messages
.read()
: reads one length-prefixed message encoded with proto
.write(data)
: writes one length-prefixed message encoded with proto
FAQs
A convenience-wrapper around protocol-buffers and lp-messages functions
The npm package it-pb-rpc receives a total of 1,211 weekly downloads. As such, it-pb-rpc popularity was classified as popular.
We found that it-pb-rpc 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.
Product
Socket now supports four distinct alert actions instead of the previous two, and alert triaging allows users to override the actions taken for all individual alerts.
Security News
Polyfill.io has been serving malware for months via its CDN, after the project's open source maintainer sold the service to a company based in China.
Security News
OpenSSF is warning open source maintainers to stay vigilant against reputation farming on GitHub, where users artificially inflate their status by manipulating interactions on closed issues and PRs.