{"library":"fetch-register","type":"library","category":null,"description":"A lightweight package that globally patches Node.js (versions before 18) to add the native Fetch API (globalThis.fetch). Version 1.3.3 is the latest stable release. It has no dependencies and works by simply requiring the module once at startup. Different from node-fetch or undici because it replaces the global fetch object transparently with a polyfill based on Node's built-in http module. Suitable for minimal setups where you want fetch without a separate import.","language":"javascript","status":"active","version":"1.3.3","tags":["javascript","fetch"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install fetch-register","imports":["require('fetch-register')","require('fetch-register'); globalThis.fetch(...)","require('fetch-register'); fetch(...)"]},{"cmd":"yarn add fetch-register","imports":[]},{"cmd":"pnpm add fetch-register","imports":[]}],"homepage":"https://github.com/codler/fetch-register","github":"https://github.com/codler/fetch-register","docs":null,"changelog":null,"pypi":null,"npm":"fetch-register","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}