{"library":"fetch-default","type":"library","category":null,"description":"Adds global default properties to the web fetch API, allowing developers to set default headers, methods, and lifecycle hooks (beforeSend, dataFilter, fail) without wrapping every fetch call. Stable version 1.0.18 with infrequent updates. Differentiates from similar utilities by offering beforeSend and dataFilter interceptors, and by extending the global fetch object rather than requiring a proxy or wrapper.","language":"javascript","status":"active","version":"1.0.18","tags":["javascript","fetch、web、global、default"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install fetch-default","imports":["import 'fetch-default'","require('fetch-default')","fetch.default({method:'POST'})"]},{"cmd":"yarn add fetch-default","imports":[]},{"cmd":"pnpm add fetch-default","imports":[]}],"homepage":"https://github.com/dengbupapapa/fetch-default#readme","github":"https://github.com/dengbupapapa/fetch-default","docs":null,"changelog":null,"pypi":null,"npm":"fetch-default","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}