@mh-cbon/dscacheutil

1.0.5 • Public • Published

dscacheutil

Provides dscacheutil response parsing to JSON.

install

npm i @mh-cbon/dscacheutil --save

usage

  var dscacheutil = require('@mh-cbon/dscacheutil')

  dscacheutil({q: 'host'}, function (err, code, data) {
    process.exitCode = parseInt(code);
    if (code!==0) err && console.error(err);
    else data && console.log(JSON.stringify(data, null, 2));
  });

as a binary

npm i @mh-cbon/dscacheutil -g
jdscacheutil -q host
jdscacheutil -q rpc
jdscacheutil -q user
jdscacheutil -q group

see dscacheutil

Readme

Keywords

Package Sidebar

Install

npm i @mh-cbon/dscacheutil

Weekly Downloads

0

Version

1.0.5

License

MIT

Last publish

Collaborators

  • mh-cbon