UNPKG

node-csfd-api

Version:

ČSFD API in JavaScript. Amazing NPM library for scrapping csfd.cz :)

8 lines (6 loc) 331 B
import { fetch as fetch$1 } from "cross-fetch"; //#region src/fetchers/fetch.polyfill.ts const fetchSafe = typeof fetch === "function" && fetch || typeof global === "object" && global.fetch || typeof window !== "undefined" && window.fetch || fetch$1; //#endregion export { fetchSafe }; //# sourceMappingURL=fetch.polyfill.mjs.map