Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
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 3 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
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.