package
Check if a URL exists.
npm install url-existGitHub-flavored package documentation.
Across all versions.
Download trend unavailable.
Runtime metadata.
Tagged topics.
Check if a URL exists.
npm install url-existurl-existsimport urlExist from "url-exist"
await urlExist("https://google.com")
//=> true
await urlExist("https://google.com/404ingURL")
//=> false
await urlExist("notaurl")
//=> falseType: string
The URL to check.
Estimated unpacked size across 8 packages.
776.0 kB
Includes dependencies.
3 direct · 2 outdated