# @edge-runtime/ponyfill

> A ponyfill (doesn't overwrite the native methods) to use Edge Runtime APIs in any environment.

Latest version **4.0.0** (published 2024-12-02) · MIT license · 0 weekly downloads

## Install

```sh
npm install @edge-runtime/ponyfill
pnpm add @edge-runtime/ponyfill
yarn add @edge-runtime/ponyfill
bun add @edge-runtime/ponyfill
```

## Health

**Score 50/100 (C)** — status: stable.

Positive: has types; esm support; no vulnerabilities; high quality score.

Warnings: low downloads.

Negative: stale.

## Facts

| | |
|---|---|
| Version | 4.0.0 |
| Published | 2024-12-02 |
| First published | 2022-08-24 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Node | >=18 |
| Dependencies | 0 |
| Unpacked size | 4.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 915 |
| Maintainers | kikobeats |
| Keywords | apis, edge, edge-runtime, functions, polyfill, ponyfill, primitives, runtime, shim, standard, web |

## Links

- npm: https://www.npmjs.com/package/@edge-runtime/ponyfill
- Repository: https://github.com/vercel/edge-runtime
- Homepage: https://edge-runtime.vercel.app/packages/ponyfill
- Issues: https://github.com/vercel/edge-runtime/issues
- npm.io page: https://npm.io/package/@edge-runtime/ponyfill

## Alternatives

- [@opentelemetry/exporter-zipkin](https://npm.io/package/@opentelemetry/exporter-zipkin.md) — 14.8M weekly downloads
- [pusher-js](https://npm.io/package/pusher-js.md) — 2.0M weekly downloads
- [browserify](https://npm.io/package/browserify.md) — 1.7M weekly downloads
- [sqs-consumer](https://npm.io/package/sqs-consumer.md) — 1.7M weekly downloads
- [@sanity/eventsource](https://npm.io/package/@sanity/eventsource.md) — 930.8K weekly downloads

## Recent versions

- 4.0.0 (latest) — 2024-12-02
- 2.3.0-beta.0 (beta) — 2023-05-02
- 3.0.0 — 2024-07-07
- 2.4.2 — 2024-01-23
- 2.4.1 — 2023-10-03
- 2.4.0 — 2023-08-23
- 2.3.0 — 2023-05-29
- 2.2.0 — 2023-04-28
- 2.1.2 — 2023-03-04
- 2.1.1 — 2023-02-28
- 2.1.0 — 2023-02-28
- 2.0.0 — 2022-10-27
- 1.1.0 — 2022-10-24
- 1.1.0-beta.36 — 2022-10-05
- 1.1.0-beta.35 — 2022-09-22
- … 7 more at https://npm.io/package/@edge-runtime/ponyfill/versions

## README

<div align="center">
  <br>
  <img src="https://user-images.githubusercontent.com/2096101/235130063-e561514e-1f66-4ff6-9034-70dbf7ca3260.png#gh-dark-mode-only">
  <img src="https://user-images.githubusercontent.com/2096101/235127419-ac6fe609-d0cd-4339-a593-c48305a83823.png#gh-light-mode-only">
  <br>
  <br>
  <p align="center"><strong>@edge-runtime/ponyfill</strong>: A ponyfill (doesn't overwrite the native methods) to use Edge Runtime APIs in any environment.</p>
  <p align="center">See <a href="https://edge-runtime.vercel.app/packages/ponyfill" target='_blank' rel='noopener noreferrer'>@edge-runtime/ponyfill</a> section in our <a href="https://edge-runtime.vercel.app/" target='_blank' rel='noopener noreferrer'>website</a> for more information.</p>
  <br>
</div>

## Install

Using npm:

```sh
npm install @edge-runtime/ponyfill --save
```

or using yarn:

```sh
yarn add @edge-runtime/ponyfill --dev
```

or using pnpm:

```sh
pnpm install @edge-runtime/ponyfill --save
```

## License

**@edge-runtime/ponyfill** © [Vercel](https://vercel.com), released under the [MPLv2](https://github.com/vercel/edge-runtime/blob/main/LICENSE.md) License.<br>
Authored and maintained by [Vercel](https://vercel.com) with help from [contributors](https://github.com/vercel/edge-runtime/contributors).

> [vercel.com](https://vercel.com) · GitHub [Vercel](https://github.com/vercel) · Twitter [@vercel](https://twitter.com/vercel)

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