A small library built for demo purposes,
which helps fetch data from different REST API endpoints in one call.
npm i getthemall
const getThemAll = require('getthemall');
getThemAll('https://your-api-host.com/', { user1: 'users/1', user2: 'users/2' }, (data) => {
// Now you have all your data for different resources from different endpoints.
console.log(data.user1, data.user2);
});
npm test