1.3.0 • Published 6 years ago

infowatch v1.3.0

Weekly downloads
8
License
MIT
Repository
github
Last release
6 years ago

infowatch

Usage

// Oracle
var options = {
    user: "username",
    password: "password",
    connectString: "192.168.23.150/iwtm"
};

// MSSQL
var options = {
    user: "username",
    password: "password",
    server: "hostname",
    database: 'iwdm',
    domain: 'DOMAIN'
};

var infowatch = new Infowatch(options);

infowatch
    .connect()
    .then(function () {
        return infowatch.getHosts();
    })
    .map(function (host) {
        host.users = infowatch.getUsers(host.id);
        return Bluebird.props(host);
    }, {concurrency: 1})
    .then(function (hosts) {
        console.log(hosts);
    })
    .finally(function () {
        return infowatch.disconnect();
    });
1.3.0

6 years ago

1.2.0

7 years ago

1.1.4

7 years ago

1.1.3

8 years ago

1.1.2

8 years ago

1.1.1

8 years ago

1.1.0

8 years ago

1.0.1

8 years ago

1.0.0

9 years ago