1.0.0 • Published 4 years ago

noupi v1.0.0

Weekly downloads
-
License
ISC
Repository
-
Last release
4 years ago

not-uptime-api

Usage (Submit Url)

const { uptimeClient } = require("noupi");
const apiClient = new uptimeClient("yOurNicE Uptime Token")

//using await
async function submitLink() {
 await apiClient.submit("testApp","yourlink.glitch.me")
  }
submitLink()

//using then
apiClient.submit("testApp", "yourlink.glitch.me").then(x => console.log(x))
/*NOTE:
Valid Url Ended with .glitch.me, .repl.co, .repl.run
*/