Gathering detailed insights and metrics for @trpc/client
Gathering detailed insights and metrics for @trpc/client
Gathering detailed insights and metrics for @trpc/client
Gathering detailed insights and metrics for @trpc/client
@trpc-swr/client
[tRPC](https://trpc.io/)-ified [SWR](https://swr.vercel.app/) hooks
trpc-client-devtools-link
A neat tRPC link to connect to the unofficial tRPC Client Devtools browser extension
artprompt-trpc-client
tRPC Client lib
@katt/trpc-client
TRPC Client lib
🧙♀️ Move Fast and Break Nothing. End-to-end typesafe APIs made easy.
npm install @trpc/client
Typescript
Module System
Node Version
NPM Version
TypeScript (80.91%)
MDX (16.97%)
JavaScript (1.09%)
CSS (1.03%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
MIT License
37,824 Stars
4,635 Commits
1,386 Forks
89 Watchers
47 Branches
474 Contributors
Updated on Jul 12, 2025
Latest Version
11.4.3
Package Id
@trpc/client@11.4.3
Unpacked Size
573.34 kB
Size
137.00 kB
File Count
155
NPM Version
lerna/8.1.2/node@v22.11.0+arm64 (darwin)
Node Version
22.11.0
Published on
Jun 27, 2025
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
2
End-to-end typesafe APIs made easy
@trpc/client
Communicate with a tRPC server on the client side.
Full documentation for @trpc/client
can be found here
1# npm 2npm install @trpc/client 3 4# Yarn 5yarn add @trpc/client 6 7# pnpm 8pnpm add @trpc/client 9 10# Bun 11bun add @trpc/client
1import { createTRPCClient, httpBatchLink } from '@trpc/client'; 2// Importing the router type from the server file 3import type { AppRouter } from './server'; 4 5// Initializing the tRPC client 6const trpc = createTRPCClient<AppRouter>({ 7 links: [ 8 httpBatchLink({ 9 url: 'http://localhost:3000/trpc', 10 }), 11 ], 12}); 13 14async function main() { 15 // Querying the greeting 16 const helloResponse = await trpc.greeting.query({ 17 name: 'world', 18 }); 19 20 console.log('helloResponse', helloResponse); // Hello world 21} 22 23main();
No vulnerabilities found.
Reason
30 commit(s) and 16 issue activity found in the last 90 days -- score normalized to 10
Reason
security policy file detected
Details
Reason
no dangerous workflow patterns detected
Reason
license file detected
Details
Reason
no binaries found in the repo
Reason
SAST tool is run on all commits
Details
Reason
Found 21/29 approved changesets -- score normalized to 7
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
Reason
project is not fuzzed
Details
Reason
46 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-06-30
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More