Blynk-library-js does not seem to work at all with Blynk 2.0.
The library was last updated in February 2019. Blynk Advertisements claim Node.js support, but this is clearly not the case.
I am running Node.js v18.13.0. On a Windows 10 computer with the following code. I really hope this library will be updated.
~Mike
var BlynkLib = require('blynk-library');
var AUTH = '*****************';
var blynk = new BlynkLib.Blynk(AUTH);
blynk.on('connect', function () {
console.log("Blynk Connected!");
blynk.virtualWrite(0, 150)
});
blynk.on('disconnect', function () {
console.log("Blynk Disconnected");
});