A lightweight utility (v1.2.3) for fetching multiple resources in a single Promise. Works with any fetch-compatible client, returns parsed responses keyed by URL. Last updated 2016; low activity. Key differentiator: simple API over ad-hoc Promise.all patterns.
npm install fetch-multipleNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Demonstrates basic usage: fetch two endpoints with different parse methods.
Access results with bracket notation using the original URL string.
Do not rely on key format; check documentation before upgrading.
Replace with native Promise.all or a modern alternative like p-map.
Use const fetchMultiple = require('fetch-multiple') without destructuring.Use require() in Node.js or configure Babel/webpack for ES modules.
Ensure all URLs are correct and server allows cross-origin requests.
No dependency data recorded yet.