blinkstick-node
blinkstick-node copied to clipboard
feature request: export additional features to promote extension/usage
At a minimum, I think it might be useful to just export the BlinkStick
class. i.e.
blinkstick.js
:
...
module.exports = {
...
BlinkStick: BlinkStick
};
...
The cats meow would be to attach the finding functions as static functions on the class so they travel with any class that might extend your export, and then just export the class.
Just an idea! If I find some free time to implement this, I will submit a PR from my fork. Just have to find time...
Another item which might be useful to export would be the map of color-names to color codes (and the function for converting color codes to rgb data).