Skip to content

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

License

Notifications You must be signed in to change notification settings

stevenvachon/hasurl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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
}

About

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

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published