@capibar/client
v0.0.7
Published
Lightest RPC client for the `@capibar/core` server
Downloads
9
Readme
CapibarJS - client @capibar/client
Lightest RPC client for the @capibar/core
server
Install package:
npm install @capibar/client # or yarn add @capibar/client
Using:
import { CapibarModule } from '@capibar/client' // Create client instance const client = await CapibarModule.buildClient('https://example.ru/api') // Call rpc method console.log(await client.rpc.http.api.notes.findMany())