osconfig

load installation config files for nput

npm install osconfig
4 downloads in the last week
8 downloads in the last month

osconfig

Build Status

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

npm loves you