@cuvva/crpc

0.2.10 • Public • Published

crpc

Simple library for making requests to Cuvva-style RPC APIs.

Returns promises only. Standard callbacks are not supported.

const crpc = require('@cuvva/crpc');
const client = crpc('https://api.example.com/v1');

await client('2018-03-06/get_user', { userId: 'foo' });

Installation

$ npm install @cuvva/crpc

Support

Please open an issue on this repository.

Authors

License

MIT licensed - see LICENSE file

Readme

Keywords

Package Sidebar

Install

npm i @cuvva/crpc

Weekly Downloads

704

Version

0.2.10

License

MIT

Unpacked Size

9.35 kB

Total Files

9

Last publish

Collaborators

  • ilya.ageev
  • julesjcraske
  • cuvva-jb
  • cuvva-old
  • cuvva-ci