osconfig
v0.0.2
Published
load installation config files for nput
Downloads
41
Readme
osconfig
Read config files with OS specific installation instructions for use with nput.
Installation:
npm install osconfig
Usage:
var osconfig = require('osconfig')
Methods:
.list()
Reads a config file and synchronously returns an object of included operating systems & versions with filenames.
Example:
.list('./os')
.load()
Synchronously return an object containing the parameters of the specified osconfig file.
Example:
.load({
os: 'debian',
version: '6.0',
dir: './configs' //optional, defaults to './os'
})
###License MIT