{"library":"cross-fetch-ponyfill","type":"library","category":null,"description":"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.","language":"javascript","status":"active","version":"1.0.3","tags":["javascript","fetch","ponyfill","node","browser"],"last_verified":"Thu Jun 04","install":[{"cmd":"npm install cross-fetch-ponyfill","imports":["import fetch from 'cross-fetch-ponyfill'","const fetch = require('cross-fetch-ponyfill')","import fetch from 'cross-fetch-ponyfill'"]},{"cmd":"yarn add cross-fetch-ponyfill","imports":[]},{"cmd":"pnpm add cross-fetch-ponyfill","imports":[]}],"homepage":"https://github.com/ThaUnknown/cross-fetch-ponyfill#readme","github":"https://github.com/ThaUnknown/cross-fetch-ponyfill","docs":null,"changelog":null,"pypi":null,"npm":"cross-fetch-ponyfill","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}