
Security News
Socket Integrates With Bun 1.3’s Security Scanner API
Socket now integrates with Bun 1.3’s Security Scanner API to block risky packages at install time and enforce your organization’s policies in local dev and CI.
@protobuf-ts/twirp-transport
Advanced tools
Twirp transport for clients generated by the protoc plugin "protobuf-ts".
Twirp transport for clients generated by protobuf-ts.
Installation:
# with npm:
npm install @protobuf-ts/twirp-transport
# with yarn:
yarn add @protobuf-ts/twirp-transport
You probably want the protoc plugin as well:
# with npm:
npm install -D @protobuf-ts/plugin
# with yarn:
yarn add --dev @protobuf-ts/plugin
Usage:
let transport = new TwirpFetchTransport({
baseUrl: "localhost:3000"
});
let client = new HaberdasherClient(transport);
let {response} = await client.makeHat({ inches: 11 });
console.log("got a small hat! " + response)
To learn more, please read the MANUAL.
The Twirp error codes and clientcompat.proto are Copyright 2018 Twitch Interactive, Inc.
FAQs
Twirp transport for clients generated by the protoc plugin "protobuf-ts".
The npm package @protobuf-ts/twirp-transport receives a total of 64,288 weekly downloads. As such, @protobuf-ts/twirp-transport popularity was classified as popular.
We found that @protobuf-ts/twirp-transport demonstrated a healthy version release cadence and project activity because the last version was released less than 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
Socket now integrates with Bun 1.3’s Security Scanner API to block risky packages at install time and enforce your organization’s policies in local dev and CI.
Research
The Socket Threat Research Team is tracking weekly intrusions into the npm registry that follow a repeatable adversarial playbook used by North Korean state-sponsored actors.
Security News
A data handling bug in OSV.dev caused disputed CVEs to disappear from vulnerability feeds until a recent fix restored over 500 advisories.