I just created my first node these days, want to share it. I would be happy to get some feedback and reviews.
Especially it would be nice to get hints, how to solve current issues of the Scorecard. As you can see, I have tried to solve this in package.json already.
I don't know why you get those issues with the scorecard, hopefully someone who knows about that will chip in.
You might like to change the heading on your README. 'Telegram bot nodes for Node-RED' does not seem appropriate.
It might be worth providing an Invert option (unless it is there and I missed it). Often with, for example, GPIO outputs, 0 represents On rather than Off.
You might like to change the heading on your README. 'Telegram bot nodes for Node-RED' does not seem appropriate.
Oh awkward, or a compliment to show where examples/templates come from. THX.
It might be worth providing an Invert option (unless it is there and I missed it). Often with, for example, GPIO outputs, 0 represents On rather than Off.
Yes, basically the node does a very simple thing. Ternary If (of course some comfort stuff around ...). Not worth writing a lot of code.
But it took me much time to find a bug in my flows last week, caused by malfunction of a manual conversion. Due to the highlevel display of node red and therefore intransparency (in my eyes) of such simple things, I had to find a handy, transparent, compact and robust solution for me.
And it was a nice finger work to get more into node-red.
It might be worth providing an Invert option (unless it is there and I missed it). Often with, for example, GPIO outputs, 0 represents On rather than Off.
Here you go: Inverting inputs is available with v1.3.1 now.