node-csfd-api
Version:
ČSFD API in JavaScript. Amazing NPM library for scrapping csfd.cz :)
8 lines (6 loc) • 343 B
JavaScript
let cross_fetch = require("cross-fetch");
//#region src/fetchers/fetch.polyfill.ts
const fetchSafe = typeof fetch === "function" && fetch || typeof global === "object" && global.fetch || typeof window !== "undefined" && window.fetch || cross_fetch.fetch;
//#endregion
exports.fetchSafe = fetchSafe;
//# sourceMappingURL=fetch.polyfill.js.map