# sindresorhus/ponyfill

🦄 Like polyfill but with pony pureness

Repository: https://github.com/sindresorhus/ponyfill
Canonical: https://ross.abutalabs.com/products/ponyfill
License Family: other
Topics: ponyfill, polyfill, unicorns, ponies
Last push: 2026-02-01T15:17:01+00:00

## Health v2 (maintenance only)
Score: 62/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 65, release rhythm 35, longevity 100
- inputs: {"age_days": 3625, "days_push": 213, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1282, forks 26 (observed 2026-08-28T04:04:14.041367+00:00)

## What it is
An educational repository explaining the concept of a ponyfill: an implementation of a standard API that is used via explicit imports instead of monkey-patching globals like a polyfill. It contrasts polyfills and ponyfills with examples in JavaScript, HTML, and CSS.

## Use cases
- understand the difference between polyfill and ponyfill
- learn how to write a ponyfill without patching globals
- find alternatives to monkey patching in javascript
- explain side-effect-free feature backports to a team
- decide whether to polyfill or ponyfill a browser API
- learn css and html ponyfill techniques

## When to choose
- you want a clear conceptual explanation of ponyfills with code examples
- you are deciding between polyfill and ponyfill strategies
- you teach or document safe ways to use future web standards

## When to avoid
- you need an actual runtime polyfill library for a specific API
- you want installable code rather than an explanation
- you need spec-compliant global patching behavior

## Facets
- artifact type: learning-resource
- maturity: active
- function: developer-tools, documentation
- domain: web-development, frontend, developer-tools, tutorials
- platform: browser
- tags: ponyfill, polyfill, monkey-patching, side-effect-free, javascript, css, html, nodejs

## Member repositories
- sindresorhus/ponyfill (main) score 62

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:14.041367+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:57:43.759997+00:00, confidence not recorded.
  - readme: https://github.com/sindresorhus/ponyfill (fetched 2026-08-28T04:04:14.041367+00:00, sha 3b73ac1d37e1)
- Data as of 2026-08-30T08:39:29.467469+00:00.
