osconfig

0.0.2 • Public • Published

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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.2
    5
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.0.2
    5
  • 0.0.1
    2

Package Sidebar

Install

npm i osconfig

Weekly Downloads

4

Version

0.0.2

License

MIT

Last publish

Collaborators

  • luk