/crpc

Primary LanguageJavaScriptMIT LicenseMIT

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

License

MIT licensed - see LICENSE file