demirhanaydin / node-mi-flora

Node package for Xiaomi Mi Flora Plant Sensor
53 stars 21 forks source link

Typescript conversion / different noble #17

Closed lucavb closed 4 years ago

lucavb commented 4 years ago

Hi there,

I took the liberty and rewrote your project in Typescript. I didn't change much about the code (mainly arrow functions I guess). I added eslint and most notably switched the noble version to one that is supposed to be supported by higher versions of node than 0.10.0 or whatever was the latest supported version.

I currently released this project on npmjs under ts-mi-flora but I don't really intend to keep it around. I would prefer to merge this with your code base :)

Maybe you can take a look at this :)

Cheers

lucavb commented 4 years ago

should be done :)