Package Exports
- @cuvva/crpc
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@cuvva/crpc) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
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 @cuvva/crpcSupport
Please open an issue on this repository.
Authors
- James Billingham james@jamesbillingham.com
License
MIT licensed - see LICENSE file