# pimatic-plugin-commons

[![Build Status](https://travis-ci.org/mwittig/pimatic-plugin-commons.svg?branch=master)](https://travis-ci.org/mwittig/pimatic-plugin-commons)
[![Coverage Status](https://coveralls.io/repos/mwittig/pimatic-plugin-commons/badge.svg?branch=master&service=github)](https://coveralls.io/github/mwittig/pimatic-plugin-commons?branch=master)
[![Dependency Status](https://david-dm.org/mwittig/pimatic-plugin-commons.svg)](https://david-dm.org/mwittig/pimatic-plugin-commons)

Common helper functions for pimatic plugins. 

## API

For API documentation, see 
[API.md](https://github.com/mwittig/pimatic-plugin-commons/blob/master/API.md).

## History

See [Release History](https://github.com/mwittig/pimatic-plugin-commons/blob/master/HISTORY.md).

## Credits

The work on periodic timers has been inspired by Andrew Duthie's blog post 
 on [Creating a self-correcting alternative to JavaScript’s setInterval](http://andrewduthie.com/2013/12/31/creating-a-self-correcting-alternative-to-javascripts-setinterval/)
 and I originally started my implementation of setPeriodicTimer() using parts of the example code transformed to CS.

## License

Copyright (c) 2016-2019, Marcus Wittig and contributors

All rights reserved.

[AGPL-3.0](https://github.com/mwittig/pimatic-plugin-commons/blob/master/LICENSE)
