Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
web-uptimer
Advanced tools
$ npm i web-uptimer
const up = require('web-uptimer');
const uptimer = new up.Uptimer({ timeout: 30000}); //5m
//You can use also client: 'node-fetch' or 'got'
const uptimer = new up.Uptimer({ timeout: 1000, pingLog: true }) //logging on the console when ping url
const uptimer = new up.Uptimer({ timeout: 1000, pingLog: true, pingMessage: '{url} was pinged'}) //https://example.com was pinged | {url} = the url who is pinged
/**
* Pinging url every 8s
* Stopping after 4s
* Only Example */
const uptimer = new up.Uptimer({ timeout: 8000, client: 'node-fetch' });
uptimer.add('https://example.com', '123456789123456789') //id/name: string
uptimer.startAll();
setTimeout(() => {
uptimer.substring('https://example.com', '123456789123456789');
uptimer.restart('123456789123456789'); //update fetching
}, 4000)
uptimer.allById('123456789123456789').then(array => console.log(array));
uptimer.all().then(array => console.log(array));
Value | Param | Output |
---|---|---|
add | url, id | true |
substring | url, id | true |
allById | id | array |
start | id | true |
stop | id | true |
restart | true | |
all | array | |
startAll | true | |
stopAll | true | |
restartAll | true |
FAQs
Uptiming Websites
The npm package web-uptimer receives a total of 1 weekly downloads. As such, web-uptimer popularity was classified as not popular.
We found that web-uptimer demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.