
Security News
AI Has Taken Over Open Source
Vibe coding at scale is reshaping how packages are created, contributed, and selected across the software supply chain
@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 | Andrew Peters | Ryan Vogel |
christ12938 | Peter Adam | Chen, Zhi-Yuan | Ryan Soderberg |
David Walsh | Robbe Vaes | Aidan Sunbury | soonoo | Kevin Porten | Denis | Christopher Kapic |
Tom Ballinger | Sam | Titoine | Igor Makowski | Anees Iqbal | wang chenyu | Alex |
nattstack |
Distributed under the MIT License. See LICENSE for more information.
FAQs
Unknown package
The npm package @orpc/client receives a total of 496,767 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
Vibe coding at scale is reshaping how packages are created, contributed, and selected across the software supply chain

Security News
npm invalidated all granular access tokens that bypass 2FA after a fresh Mini Shai-Hulud wave compromised 323 npm packages. Staged publishing also entered public preview.

Research
/Security News
Compromised npm package art-template delivered a Coruna-like iOS Safari exploit framework through a watering-hole attack.