A minimal Node.js library for uploading files via HTTP multipart/form-data using axios. This v0.0.1 package provides a single function that accepts a URL and a file object, returning a promise. It was published with no updates and is a thin wrapper around axios. Similar to form-data or axios directly, but with a narrower focus. Release cadence: none (single release).
npm install axios-fileuploadNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Demonstrates uploading a file using a ReadStream to a test endpoint.
Use axios directly with FormData in browsers.
Switch to axios directly or use form-data and axios for more control.
Ensure you pass a valid file stream or buffer. Check axios documentation for supported types.
Run 'npm install axios-fileupload' and ensure the import/require path matches.
Use 'const axiosFileupload = require("axios-fileupload")' or 'import axiosFileupload from "axios-fileupload"'.