cross-fetch-ponyfill

JSON →
library 1.0.3 ·javascript
verified Jun 4, 2026

A lightweight fetch ponyfill that only provides a fetch polyfill in Node.js environments. In browsers, it uses the native fetch API without modification. This approach avoids unnecessary polyfilling in browsers and ensures minimal overhead. Version 1.0.3 is the latest stable release. The package is updated infrequently, with a simple API that exports a single fetch function. It differentiates itself from other cross-platform fetch libraries by being a true ponyfill (no side effects or global pollution) and only targeting Node.js for polyfilling.