Build Status npm version Coverage Status Known Vulnerabilities Dependency Status License

ilorest

Join the chat at https://gitter.im/HewlettPackard/javascript-ilorest-library

JavaScript Library for Hewlett Packard Enterprise iLO RESTful/Redfish API

Installation

$ npm install --save ilorest

Usage

var rest = require('ilorest');
var client = rest.restClient('https://10.10.10.10');
client.login("admin", "password123")
    .then(function (res) {
        console.log(res);
    })
    .catch(function (err) {
        console.log(err);
    });

Build from source

This project uses the Gulp build system. To build the project:

  • Install Gulp (globally)
    $ npm install -g gulp
  • NPM depedency install
    $ npm install
  • Build the project
    $ gulp prepublish

Browserify

$ npm install ilorest

$ browserify -r ilorest > bundle.js

License

Apache-2.0 © Hewlett Packard Enterprise