# hasurl

> Determine whether the native WHATWG URL implementation is available.

Latest version **1.0.0** (published 2017-06-29) · MIT license · 0 weekly downloads

## Install

```sh
npm install hasurl
pnpm add hasurl
yarn add hasurl
bun add hasurl
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2017-06-29 |
| First published | 2017-03-10 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >= 4 |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 2 |
| Author | Steven Vachon |
| Maintainers | stevenvachon |
| Keywords | uri, url, whatwg |

## Links

- npm: https://www.npmjs.com/package/hasurl
- Repository: https://github.com/stevenvachon/hasurl
- Homepage: https://github.com/stevenvachon/hasurl#readme
- Issues: https://github.com/stevenvachon/hasurl/issues
- npm.io page: https://npm.io/package/hasurl

## Alternatives

- [base64url](https://npm.io/package/base64url.md) — 6.1M weekly downloads
- [get-installed-path](https://npm.io/package/get-installed-path.md) — 502.9K weekly downloads
- [@uppy/url](https://npm.io/package/@uppy/url.md) — 185.8K weekly downloads
- [@d3fc/d3fc-shape](https://npm.io/package/@d3fc/d3fc-shape.md) — 16.2K weekly downloads
- [localizer](https://npm.io/package/localizer.md) — 226 weekly downloads

## Recent versions

- 1.0.0 (latest) — 2017-06-29
- 1.0.0-alpha — 2017-03-10

## README

# hasurl [![NPM Version][npm-image]][npm-url] [![Build Status][travis-image]][travis-url]

> Determine whether Node.js' native [WHATWG `URL`](https://nodejs.org/api/url.html#url_the_whatwg_url_api) implementation is available.


## Installation

[Node.js](http://nodejs.org/) `>= 4` is required. To install, type this at the command line:
```shell
npm install hasurl
```


## Usage

```js
const hasURL = require('hasurl');

if (hasURL()) {
	// supported
} else {
	// fallback
}
```


[npm-image]: https://img.shields.io/npm/v/hasurl.svg
[npm-url]: https://npmjs.org/package/hasurl
[travis-image]: https://img.shields.io/travis/stevenvachon/hasurl.svg
[travis-url]: https://travis-ci.org/stevenvachon/hasurl

---
_Source: https://npm.io/package/hasurl · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
