www/versioned_docs/version-10.x/client/vanilla/introduction.md
The "Vanilla" tRPC client can be used to call your API procedures as if they are local functions, enabling a seamless development experience.
import type { AppRouter } from '../path/to/server/trpc';
const bilbo = await client.getUser.query('id_bilbo');
// => { id: 'id_bilbo', name: 'Bilbo' };
You are likely to use this client in two scenarios: