noupi

1.0.0 • Public • Published

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
*/

Readme

Keywords

Package Sidebar

Install

npm i noupi

Weekly Downloads

0

Version

1.0.0

License

ISC

Unpacked Size

4.2 kB

Total Files

7

Last publish

Collaborators

  • kagchi