nachos-config
v1.2.0
Published
nachos settings file for nachos
Downloads
8
Readme
nachos-config
Nachos settings file for nachos
Have a problem? Come chat with us!
Installation
$ [sudo] npm install nachos-config --save
Examples
Nachos settings defines the defaults for nachos settings file
var nachosConfig = require('nachos-config');
See settings-file documentation to see list of available functions
Extra functions
Nachos config has extra functions on top of the SettingsFile functions
App defaults
nachosConfig.getDefaultApp('txt')
.then(function (command) {
// command => /var/bin/gedit.desktop
});
nachosConfig.setDefaultApp('txt', '/var/bin/gedit.desktop')
.then(function () {
// saved successfully!
});
Run Tests
$ npm test