{"library":"nuxt-strict-fetch","type":"library","category":null,"description":"A Nuxt 3 module that provides a type-safe and schema-validated wrapper around the built-in $fetch. Current version 1.4.0, actively maintained. Key differentiators: supports Yup and Zod for runtime schema validation of request/response bodies, query parameters, and URL params. Requires either yup (>= 1.5.0) or zod (>= 3.0.0) as peer dependencies. Simplifies API method definitions with StrictFetch.prepare and integrates with Nuxt's composables (useRequest, useAutoFetch). Provides global configuration via module options and a plugin init method for custom fetch overrides.","language":"javascript","status":"active","version":"1.4.0","tags":["javascript"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install nuxt-strict-fetch","imports":["import { StrictFetch } from '#imports'","const { data, error } = useRequest('endpoint')","useAutoFetch(CommonAPI.details, { params: { id: 1 } })","import { HTTPMethod } from '#imports'"]},{"cmd":"yarn add nuxt-strict-fetch","imports":[]},{"cmd":"pnpm add nuxt-strict-fetch","imports":[]}],"homepage":"https://github.com/alexbidenko/nuxt-strict-fetch#readme","github":"https://github.com/alexbidenko/nuxt-strict-fetch","docs":null,"changelog":null,"pypi":null,"npm":"nuxt-strict-fetch","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}