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);
});

Readme

Keywords

none

Package Sidebar

Install

npm i simple-jsonrpc

Weekly Downloads

2

Version

0.0.2

License

none

Last publish

Collaborators

  • tarmolov