1.1.2 • Published 10 years ago

yobi v1.1.2

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

yobi

node.js system hooks

do various things to/with the system using child processes

install

With npm do:

npm install yobi

Usage

Require The module as normal

var yobi = require('yobi');

Running Commands inside of Node using child_process

var cmd = yobi.CMD;

var args = [
  '-lh',
  '/usr'
];

cmd('ls', args); // args are passed as an array

System Evaluation: Information/Specs

yobi.Eval();

will print out your OS, with every else you need to know about your system

System Environment Varibles

yobi.Enviroment();

will print out a list of environment varibles in JSON format

Rename a directory

yobi.RenameDir('exampleDir', 'newDirName');

Remove a directory

yobi.RmDir('exampleDir');

license

MIT

1.1.2

10 years ago

1.1.1

11 years ago

1.1.0

11 years ago

1.0.0

11 years ago