Netherworld's Pretend Minibar
Miss any of our Open RFC calls?Watch the recordings here! »

url-exists-promise

1.0.2 • Public • Published

url-exists-promise

Check if a url exists in node. Uses a HEAD request.

import { urlExists } from 'url-exists-promise'
 
urlExists('https://google.com/')
    // probably true
    .then(res => console.log(res))

Install

npm i url-exists-promise

DownloadsWeekly Downloads

27

Version

1.0.2

License

MIT

Unpacked Size

3.47 kB

Total Files

8

Last publish

Collaborators

  • avatar