Skip to content

Pegase745/node-glances

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

node-glances NPM version

Nicolargo's [Glances] (https://github.com/nicolargo/glances) client for Node.js available on [NPM] (https://npmjs.org/package/glances)

Requirements

  • Node.js >= 0.8
  • Glances server <= 1.7

Installation

npm install glances

Usage

var glances = require('node-glances');

var client = glances.createClient({ host: 'your-url' });

client.call('api-method(ie: getAll)', function(error, value){
    if(error) {
        console.log(error.faultString);
    } else {
        console.dir(value);
    }
});

Documentation

All available API methods for Glances are available [here] (https://github.com/nicolargo/glances/blob/master/docs/glances-doc.rst).

About

Glances client for Node.js

Resources

License

Stars

Watchers

Forks

Packages

No packages published