0.2.0 • Published 6 years ago

xmlrpc-lite v0.2.0

Weekly downloads
4
License
ISC
Repository
github
Last release
6 years ago

xmlrpc-lite

npm Build Status codecov styled with prettier

Simple xmlrpc client for node and browser

  • Object params support via <struct>
  • String type support only

Installation

npm install xmlrpc-lite --save

Example

// xmlrpc request to ipboard forum
var Client = require('xmlrpc-lite');
var t = new Client('http://forum/interface/board/index.php');
t.call(
  'loginUser',
  {
    id: 'xxxx',
    api_module: 'ipb',
    api_key: 'xxxxxx'
  },
  function(err, xml) {
    if (err) throw err;
    console.log(xml);
  }
);

License

ISC