node-lifx
node-lifx copied to clipboard
Consider usage with promises
Using promises features like async/await can be used.
I am looking for this... I am finding it very difficult to use without promises... I am using feathersJS as my framework (which is awesome) but this lib can't / will not play nice with feathers.
@MarcGodard I'm afraid this won't happening any time soon. I have three pull requests in queue from October, things I've discussed briefly with @MariusRumpf. At least I won't do further development before coding using modern JS syntax is possible. If you need promises you could try if https://github.com/futomi/node-lifx-lan would be suitable?
@ristomatti thanks, I will check out that lib.
I managed to make it work with feathersJS but it is hacky... maybe this lib will work better, thanks.
If you need help making it ES6 / ES7 version, let me know.