tellstick.conf-parser

1.2.0 • Public • Published

Build Status

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-parser

Usage

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 restart

Contribute

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request!

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.2.0
    1
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.2.0
    1
  • 1.1.0
    0
  • 1.0.1
    0
  • 1.0.0
    0

Package Sidebar

Install

npm i tellstick.conf-parser

Weekly Downloads

1

Version

1.2.0

License

ISC

Last publish

Collaborators

  • amlinger