axios-form-data

JSON →
library 1.1.1 ·javascript
verified Jun 7, 2026

Axios interceptor middleware (v1.1.1) that automatically encodes request bodies containing files into multipart/form-data using the `form-data` library. Designed as a drop-in interceptor for Axios, it detects streams, buffers, or Blob objects in the request data and converts them to form-data with a random boundary. Key differentiator: simple integration via `axios.interceptors.request.use(axiosFormData)` without modifying existing Axios calls. Stable release, no active cadence reported.