JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 888
  • Score
    100M100P100Q116285F
  • License MIT

Simple library for making requests to Cuvva-style RPC APIs

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('@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

License

MIT licensed - see LICENSE file