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
- Host: GitHub
- URL: https://github.com/tarmolov/simple-jsonrpc
- Owner: tarmolov
- Created: 2011-12-27T11:11:22.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2013-03-10T22:24:36.000Z (about 12 years ago)
- Last Synced: 2025-04-12T05:53:47.516Z (about 2 months ago)
- Language: JavaScript
- Homepage:
- Size: 137 KB
- Stars: 3
- Watchers: 2
- Forks: 4
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
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);
});