{"library":"fetch-factory","type":"library","category":null,"description":"A wrapper around the native fetch API to simplify creating service objects for REST APIs. Version 0.2.1 is the latest stable release. This library is in maintenance mode with no recent updates. It provides a declarative way to define API endpoints, supports parameter interpolation, JSON handling for POST requests, and request interceptors. Unlike heavier HTTP clients, fetch-factory is lightweight and relies on native fetch and Promise, requiring polyfills for older environments. It is consumable in Node.js and browsers via bundlers.","language":"javascript","status":"maintenance","version":"0.2.1","tags":["javascript"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install fetch-factory","imports":["import fetchFactory from 'fetch-factory'","import fetchFactory from 'fetch-factory'; const factory = fetchFactory.create(config)","// In browser builds, use the global variable directly: const factory = window.fetchFactory.create(config)"]},{"cmd":"yarn add fetch-factory","imports":[]},{"cmd":"pnpm add fetch-factory","imports":[]}],"homepage":null,"github":null,"docs":null,"changelog":null,"pypi":null,"npm":"fetch-factory","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}