1.0.0 • Published 3 years ago

is-it-raining v1.0.0

Weekly downloads
2
License
ISC
Repository
-
Last release
3 years ago

is-it-raining

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)
})