1.0.0 • Published 7 years ago
hasurl v1.0.0
hasurl
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
}
1.0.0
7 years ago
1.0.0-alpha
7 years ago