url-exists-promise
TypeScript icon, indicating that this package has built-in type declarations

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))

Readme

Keywords

Package Sidebar

Install

npm i url-exists-promise

Weekly Downloads

35

Version

1.0.2

License

MIT

Unpacked Size

3.47 kB

Total Files

8

Last publish

Collaborators

  • dylanvann