css-vars-ponyfillv2.4.9, 5 Mar 2024
Client-side support for CSS custom properties (aka "CSS variables") in legacy and modern browsers
$ npm install css-vars-ponyfillobject-fit-imagesv3.2.4, 20 Aug 2018
Polyfill object-fit and object-position on images on IE9, IE10, IE11, Edge, Safari, ...
$ npm install object-fit-images| Metric | css-vars-ponyfill | object-fit-images | Difference |
|---|---|---|---|
| Weekly downloads | 175,644 | 101,976 | css-vars-ponyfill 1.7x higher |
| 12-month download growth | +63% | -29% | css-vars-ponyfill +92 pts |
| Gzip size | - | - | - |
| Minified size | - | - | - |
| Dependencies | 2 | 0 | css-vars-ponyfill 2 more |
| Unpacked size | 629 kB | 36 kB | object-fit-images 17.4x smaller |
| Latest release | 2.4.9, 5 Mar 2024 | 3.2.4, 20 Aug 2018 | css-vars-ponyfill 5.5 years more recent |
| Releases, last 12 months | - | - | - |
| First published | - | - | - |
| GitHub stars | 1,457 | 2,014 | object-fit-images +38% |
| Open issues | 5 | 3 | css-vars-ponyfill 2 more |
| Open pull requests | 0 | 0 | Same |
| Contributors | - | - | - |
| Commits, last 52 weeks | 0 | 0 | Same |
| TypeScript types | Bundled | None | Differs |
| Module format | ESM + CommonJS | CommonJS | Differs |
| Runtimes | - | - | - |
| License | MIT | MIT | Same |
Green marks the smaller size or the more recent release. Bold marks the higher count, with no judgement implied. Sizes are for the whole package per Bundlephobia. Growth compares the average of the last 4 weeks with the first 4 weeks of the 52-week series.
css-vars-ponyfill175.6k latest weekobject-fit-images102k latest week
Week of 23 Sept 2025Week of 15 Sept 2026
css-vars-ponyfill
Major versions
- -
Last 5 releases
- -
Release count not fetched
object-fit-images
Major versions
- -
Last 5 releases
- -
Release count not fetched
css-vars-ponyfill
-
object-fit-images
-
css-vars-ponyfill
-
object-fit-images
-
- Need no runtime dependenciesobject-fit-images (css-vars-ponyfill has 2, object-fit-images has 0)
- Need both ESM and CommonJS entry pointscss-vars-ponyfill (css-vars-ponyfill: ESM + CommonJS; object-fit-images: CommonJS)
- Need to load it with require()Both
- Need TypeScript types in the package itselfcss-vars-ponyfill (css-vars-ponyfill: Bundled; object-fit-images: None)
- Need the more recent releasecss-vars-ponyfill (2.4.9 on 5 Mar 2024 vs 3.2.4 on 20 Aug 2018)
- Higher weekly npm downloadscss-vars-ponyfill (175.6k vs 102k)
Each line is generated from the data above.
css-vars-ponyfill: css-vars-ponyfill npm registry, css-vars-ponyfill npm downloads, css-vars-ponyfill GitHub, css-vars-ponyfill jsDelivr. Data fetched 25 Sept 2026.
object-fit-images: object-fit-images npm registry, object-fit-images npm downloads, object-fit-images GitHub, object-fit-images jsDelivr. Data fetched 25 Sept 2026.
Indexability: Indexed.