An open API service indexing awesome lists of open source software.

https://github.com/tarmolov/simple-jsonrpc

Simple JSON-RPC client for nodejs
https://github.com/tarmolov/simple-jsonrpc

Last synced: about 2 months ago
JSON representation

Simple JSON-RPC client for nodejs

Awesome Lists containing this project

README

        

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