rittenhop-ghost/versions/5.94.2/node_modules/reachable-url
2024-09-23 19:05:38 -04:00
..
index.js adding local files for running this....locally 2024-09-23 19:05:38 -04:00
LICENSE adding local files for running this....locally 2024-09-23 19:05:38 -04:00
package.json adding local files for running this....locally 2024-09-23 19:05:38 -04:00
README.md adding local files for running this....locally 2024-09-23 19:05:38 -04:00

reachable-url

Last version Coverage Status NPM Status

Given an URL, it resolves as fast as possible, performing a GET without downloading the body.

Install

$ npm install reachable-url --save

Usage

const reachableUrl = require('reachable-url')

reachableUrl.isReachable(await reachableUrl('https://google.com')) // => true

API

reachableUrl(input, [options])

url

Required
Type: string

The target URL to be resolved.

options

Same as got#options

License

reachable-url © Kiko Beats, released under the MIT License.
Authored and maintained by Kiko Beats with help from contributors.

kikobeats.com · GitHub Kiko Beats · Twitter @Kikobeats