JSPM

  • Created
  • Published
  • Downloads 27079
  • Score
    100M100P100Q145123F
  • License MIT

Given an url resolve it as fast as possible

Package Exports

  • reachable-url
  • reachable-url/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (reachable-url) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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 · X @Kikobeats