@cuvva/crpc
v0.2.10
Published
Simple library for making requests to Cuvva-style RPC APIs
Downloads
4,302
Readme
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
- James Billingham [email protected]
License
MIT licensed - see LICENSE file