blinkstick-node icon indicating copy to clipboard operation
blinkstick-node copied to clipboard

feature request: export additional features to promote extension/usage

Open troywweber7 opened this issue 7 years ago • 1 comments

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

troywweber7 avatar Jun 28 '17 20:06 troywweber7

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).

troywweber7 avatar Jun 29 '17 19:06 troywweber7