the-simplifier
  • ๐Ÿ’šWelcome!
  • ๐Ÿ“ฆInstalling
  • Functions
    • The Simplifier Functions
  • ๐ŸŽซValidators
    • ๐ŸŸขisWebsiteUp
    • #๏ธโƒฃ isValidHexColor
  • ๐ŸŽกConverters
    • โฑ๏ธconvertTime
    • ๐Ÿ”ตconvertColors
  • ๐Ÿ“”Formatters
    • ๐Ÿ”ขNumberFormatter
  • ๐Ÿ“ธOCR
    • ๐Ÿ“‘๐Ÿ“ท readImage
  • โŒFakes
    • ๐ŸงชcreateFakeUser
  • ๐Ÿ”…Modified native functions
    • ๐Ÿ“œMap
  • ๐ŸŒNo category
    • ๐Ÿ”ƒgetRandomFromArray
    • ๐Ÿ” generateChars
    • ๐Ÿ”„getRandomInt
Powered by GitBook
On this page

Was this helpful?

  1. Validators

isWebsiteUp

Verify if a website is online!

isUp.js
import { isWebsiteUp } from 'the-simplifier'

let func = async() => {
    let result = await isWebsiteUp('https://youtube.com')
    
    console.log(result)
}

func() // Expected: true
PreviousValidatorsNext#๏ธโƒฃ isValidHexColor

Last updated 4 years ago

Was this helpful?

๐ŸŽซ
๐ŸŸข