Last 12 weeks · 0 commits
4 of 6 standards met
For some reason this package keeps giving me the error above "Cannot read property 'startsWith' of undefined" even when I copy the code from this repo or from the npm site can anyone help me ? here is my code const isUp = require('is-up'); exports.add_a_new_report = async(req, res) => { try{ var url = 'https://google.com'; console.log(await isUp(url)); }catch(err){ return res.status(400).json(err.message); } }
Repository: sindresorhus/is-up. Description: Check whether a website is up or down Stars: 389, Forks: 14. Primary language: JavaScript. Languages: JavaScript (100%). License: MIT. Latest release: v5.0.0 (4y ago). Open PRs: 0, open issues: 0. Last activity: 4y ago. Community health: 71%. Top contributors: sindresorhus, kevva, realabbas, arthurvr, Richienb, SamVerschueren, ntwb.