hasurl

1.0.0 • Public • Published

hasurl NPM Version Build Status

Determine whether Node.js' native WHATWG URL implementation is available.

Installation

Node.js >= 4 is required. To install, type this at the command line:

npm install hasurl

Usage

const hasURL = require('hasurl');
 
if (hasURL()) {
    // supported
} else {
    // fallback
}

Readme

Keywords

Package Sidebar

Install

npm i hasurl

Weekly Downloads

103,121

Version

1.0.0

License

MIT

Last publish

Collaborators

  • stevenvachon