{"library":"fetch-defaults","type":"library","category":null,"description":"Functional and immutable mixin for the Fetch API that sets a default base URL and/or default options (e.g., headers) on fetch calls. Version 1.0.0 is stable and follows semantic versioning. It does not modify input objects and supports both browser and Node.js environments when paired with a polyfill like node-fetch or fetch-off. Its key differentiator is immutability: options are merged recursively without mutation, and it does not pollute prototypes.","language":"javascript","status":"active","version":"1.0.0","tags":["javascript","fetch"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install fetch-defaults","imports":["import fetchDefaults from 'fetch-defaults'","const fetchDefaults = require('fetch-defaults')","import fetchDefaults from 'fetch-defaults'"]},{"cmd":"yarn add fetch-defaults","imports":[]},{"cmd":"pnpm add fetch-defaults","imports":[]}],"homepage":"https://github.com/moll/js-fetch-defaults","github":"git://github.com/moll/js-fetch-defaults","docs":null,"changelog":null,"pypi":null,"npm":"fetch-defaults","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}