simple-jsonrpc

0.0.2 • Public • Published

Simple JSON-RPC

It is really simple JSON-RPC :) Now, only client but server coming soon...

Installation

Simply use npm to install it

npm install simple-jsonrpc

or download the code from the repo and stick it in your project folder.

Simple usage :)

var jsonrpc = require('simple-jsonrpc');
var client = jsonrpc.client("https://my-json-rpc-server/path-to-something/");
client.call('add', [1, 2], function (result) {
    console.log(result);
});

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.2
    3
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.0.2
    3
  • 0.0.1
    2

Package Sidebar

Install

npm i simple-jsonrpc

Weekly Downloads

5

Version

0.0.2

License

none

Last publish

Collaborators

  • tarmolov