crpc
v0.2.2
Published
Simple library for making requests to Cuvva-style RPC APIs
Downloads
171
Readme
crpc
Simple library for making requests to Cuvva-style RPC APIs.
Returns promises only. Standard callbacks are not supported.
const crpc = require('crpc');
const client = crpc('https://api.example.com/v1');
await client('2018-03-06/get_user', { userId: 'foo' });
Installation
$ npm install crpc
Support
Please open an issue on this repository.
Authors
- James Billingham [email protected]
License
MIT licensed - see LICENSE file