
Security News
Happy Birthday, Shai-Hulud
It has been one year since Shai-Hulud made its first appearance on npm.
@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 |
David Walsh | Robbe Vaes | Aidan Sunbury | soonoo | Kevin Porten | Denis | Christopher Kapic |
Tom Ballinger | Sam | Titoine | Igor Makowski | hanayashiki | Lev Dubinets | Kelly Peilin Chan |
Guy Ariely | Alex | Andrey Gubanov |
With thanks to 37 past sponsors who helped get oRPC here.
Distributed under the MIT License. See LICENSE for more information.
FAQs
Unknown package
The npm package @orpc/client receives a total of 638,035 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.

Security News
It has been one year since Shai-Hulud made its first appearance on npm.

Research
/Security News
Operators behind PolinRider used a compromised GitHub account to plant malware in four development versions of a Packagist package with 700,000+ downloads.

Security News
GitHub Actions now supports cache-mode, a least-privilege control on the Actions cache aimed at the cache poisoning technique behind recent compromises.