# url-ponyfill

> UMD & [ponyfill](ponyfill.com) fork of [webcomponents/URL](github.com/webcomponents/url)

Latest version **0.5.10** (published 2021-05-08) · MIT license · 0 weekly downloads

## Install

```sh
npm install url-ponyfill
pnpm add url-ponyfill
yarn add url-ponyfill
bun add url-ponyfill
```

## Health

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

Positive: has types; esm support; no vulnerabilities.

Warnings: low downloads; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.5.10 |
| Published | 2021-05-08 |
| First published | 2018-03-16 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Unpacked size | 36.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 3 |
| Maintainers | jccr |

## Links

- npm: https://www.npmjs.com/package/url-ponyfill
- Repository: https://github.com/jccr/url-ponyfill
- Homepage: https://github.com/jccr/url-ponyfill#readme
- Issues: https://github.com/jccr/url-ponyfill/issues
- npm.io page: https://npm.io/package/url-ponyfill

## Recent versions

- 0.5.10 (latest) — 2021-05-08
- 0.5.9 — 2018-04-12
- 0.5.8 — 2018-03-16
- 0.5.7 — 2018-03-16

## README

# URL-ponyfill

UMD & [ponyfill](https://ponyfill.com) fork of [webcomponents/URL](https://github.com/webcomponents/polyfills/tree/master/packages/url)

# Usage

ES2015 (webpack, rollup, etc)
```
import { URL } from 'url-ponyfill'
```

Node.js
```
const { URL } = require('url-ponyfill')
```


## Polyfill

```
import { URL, hasNativeURL } from 'url-ponyfill';

if (!hasNativeURL) {
    self.URL = URL;
}
```

# License

[MIT](./LICENSE)

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