{"library":"axios-normalizer","type":"library","category":null,"description":"Utility library for normalizing axios HTTP responses and errors, version 1.0.2. It standardizes the response structure to match API documentation, abstracting away axios's wrapping of data in a `data` property and handling errors as exceptions. Suitable for projects using axios ^0.27.2. Differentiators: guarantees consistent response shape, distinguishes API errors from network errors, and normalizes errors only from the API server. Release cadence: infrequent (latest 2022). Peer dependency on axios.","language":"javascript","status":"active","version":"1.0.2","tags":["javascript","axios","handle errors","handle response","normalize response","normalize errors","response","normalize","reduce"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install axios-normalizer","imports":["import { normalizeResponse } from 'axios-normalizer';","import { normalizeError } from 'axios-normalizer';"]},{"cmd":"yarn add axios-normalizer","imports":[]},{"cmd":"pnpm add axios-normalizer","imports":[]}],"homepage":"https://github.com/burntblark/axios-normalizer#readme","github":"https://github.com/burntblark/axios-normalizer","docs":null,"changelog":null,"pypi":null,"npm":"axios-normalizer","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}