1.2.0 • Published 8 years ago
tellstick.conf-parser v1.2.0
tellstick.conf Parser
Parsing tellstick.conf files into Javascript objects.
Note that this is still very much a work in progress.
Installation
npm install tellstick.conf-parserUsage
The parser comes with just a parse-method, that accepts a path to your configuration file.
require('tellstick.conf-parser')
.parse('/etc/tellstick.conf')
.then(function(obj) {
// Do stuff with your configuration
});Remember to restart your Telldus deamon to get the changes in your config activated:
[sudo] service telldusd restartContribute
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature - Commit your changes:
git commit -am 'Add some feature' - Push to the branch:
git push origin my-new-feature - Submit a pull request!