{"library":"fetchservices","type":"library","category":null,"description":"A lightweight, type-safe HTTP client library built on top of ofetch. Current version is 0.2.4. Provides a FetchService class with methods for GET, POST, PUT, DELETE, upload, and download, along with an interceptor system, singleton pattern, auth helpers (AuthService, KeyCloakAuthService), and controller base classes (BaseController, CrudController). Designed for use in modern JavaScript/TypeScript projects. Only available as ESM. Differentiators: built-in interceptor support, ETag caching, and structured controller patterns for REST API consumption.","language":"javascript","status":"active","version":"0.2.4","tags":["javascript","fetch","ofetch","REST","microservice","ajax","service","request","typescript"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install fetchservices","imports":["import FetchService from 'fetchservices'","import { AbstractFetchInterceptor } from 'fetchservices'","import { ETagCacheInterceptor } from 'fetchservices/interceptors'","import { BaseController } from 'fetchservices'","import type { Foo } from 'fetchservices'"]},{"cmd":"yarn add fetchservices","imports":[]},{"cmd":"pnpm add fetchservices","imports":[]}],"homepage":"https://github.com/mlmoravek/fetchservices","github":"https://github.com/mlmoravek/fetchservices","docs":null,"changelog":null,"pypi":null,"npm":"fetchservices","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}