# @capibar/client

> Lightest RPC client for the `@capibar/core` server

Latest version **0.0.7** (published 2023-07-23) · MIT license · 0 weekly downloads

## Install

```sh
npm install @capibar/client
pnpm add @capibar/client
yarn add @capibar/client
bun add @capibar/client
```

## Health

**Score 20/100 (F)** — status: abandoned.

Positive: has types; no vulnerabilities.

Warnings: low downloads; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.7 |
| Published | 2023-07-23 |
| First published | 2023-05-31 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Node | >=18 |
| Dependencies | 1 |
| Unpacked size | 21.8 KB |
| Known vulnerabilities | 0 (+3 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 0 |
| Author | CapibarJS |
| Maintainers | pysdbi |

## Links

- npm: https://www.npmjs.com/package/@capibar/client
- Repository: https://github.com/CapibarJS/client
- Homepage: https://github.com/CapibarJS/client#readme
- Issues: https://github.com/CapibarJS/client/issues
- npm.io page: https://npm.io/package/@capibar/client

## Dependencies (1)

- [ws](https://npm.io/package/ws.md) 8.12.0

## Recent versions

- 0.0.7 (latest) — 2023-07-23
- 0.0.6 — 2023-07-23
- 0.0.5 — 2023-06-06
- 0.0.4 — 2023-05-31
- 0.0.3 — 2023-05-31
- 0.0.2 — 2023-05-31

## README

# CapibarJS - client `@capibar/client`

Lightest RPC client for the `@capibar/core` server

1. Install package:
   ```shell
   npm install @capibar/client
   # or
   yarn add @capibar/client
   ```

2.  Using:
    ```javascript
    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())
    ```

---
_Source: https://npm.io/package/@capibar/client · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
