nachos-config

1.2.0 • Public • Published

nachos-config

Nachos settings file for nachos

Linux OSX Windows Coverage Dependencies DevDependencies
Coverage Status

Have a problem? Come chat with us!

Join the chat at https://gitter.im/nachos/nachos-config

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

License

MIT

Readme

Keywords

Package Sidebar

Install

npm i nachos-config

Weekly Downloads

1

Version

1.2.0

License

MIT

Last publish

Collaborators

  • amirschl
  • omrilitov
  • eladbezalel
  • noamokman