
Security News
Ruby's Bundler 4.0.18 Extends Cooldown to bundle lock and bundle cache
The supply chain control that delays freshly published gems now covers lockfile generation and gem vendoring in Ruby projects.
@orpc/client
Advanced tools
oRPC is a powerful combination of RPC and OpenAPI, makes it easy to build APIs that are end-to-end type-safe and adhere to OpenAPI standards
You can find the full documentation here.
@orpc/clientConsume your API on the client with type-safety. Read the documentation for more information.
import { createORPCClient } from '@orpc/client'
import { RPCLink } from '@orpc/client/fetch'
import { ContractRouterClient } from '@orpc/contract'
import { RouterClient } from '@orpc/server'
const link = new RPCLink({
url: 'http://localhost:3000/rpc',
headers: () => ({
authorization: 'Bearer token',
}),
// fetch: <-- provide fetch polyfill fetch if needed
})
// Create a client for your router
const client: RouterClient<typeof router> = createORPCClient(link)
// Or, create a client using a contract
const client: ContractRouterClient<typeof contract> = createORPCClient(link)
If you find oRPC valuable and would like to support its development, you can do so here: GitHub Sponsors.
ScreenshotOne.com |
ζδΈγγ |
LN Markets |
Reece McDonald | nk | supastarter | Dexter Miguel | herrfugbaum | Ryota Murakami |
David Cramer | Valerii Petryniak | Valerii Strilets | Kyle Mistele | christ12938 | Ryan Soderberg |
shota | Ellis Driscoll |
David Walsh | Robbe Vaes | Aidan Sunbury | soonoo | Kevin Porten | Denis | Christopher Kapic |
Tom Ballinger | Sam | Titoine | Igor Makowski | hanayashiki | Lev Dubinets | Kelly Peilin Chan |
Alex | Andrey Gubanov |
Distributed under the MIT License. See LICENSE for more information.
FAQs
Unknown package
The npm package @orpc/client receives a total of 803,332 weekly downloads. As such, @orpc/client popularity was classified as popular.
We found that @orpc/client 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
The supply chain control that delays freshly published gems now covers lockfile generation and gem vendoring in Ruby projects.

Security News
During a UK cyber test, a Mythos 5 agent used sockpuppets, social engineering, and prompt injection to try to get a maintainer to merge malware.

Company News
Socket is now in the AWS Security Hub Extended plan. Adopt it through AWS, apply committed spend, and block malicious open source packages.