is-it-raining
is a simple package used to tell you if it's raining.
You can pass in an IP adress as so:
var isItRaining = require("is-it-raining")
isItRaining("xxx.xx.xx.xx").then((data)=>{
console.log(data)
}).catch((err)=>{
console.log(err)
})
Or leave it out and it will use the IP adress of the computer running the node script
var isItRaining = require("is-it-raining")
isItRaining().then((data)=>{
console.log(data)
}).catch((err)=>{
console.log(err)
})