crpc
DefinitelyTyped icon, indicating that this package has TypeScript declarations provided by the separate @types/crpc package

0.2.2 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i crpc

Weekly Downloads

14

Version

0.2.2

License

MIT

Unpacked Size

7.8 kB

Total Files

6

Last publish

Collaborators

  • billinghamj
  • cuvva-old