3.0.5 • Published 6 years ago

getthemall v3.0.5

Weekly downloads
2
License
MIT
Repository
github
Last release
6 years ago

GetThemAll

NPM

Build Status Coverage Status Codacy Badge

A small library built for demo purposes, which helps fetch data from different REST API endpoints in one call.

Installation

npm i getthemall

Usage

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);
});

Tests

npm test

3.0.5

6 years ago

3.0.4

6 years ago

3.0.3

6 years ago

3.0.2

6 years ago

3.0.1

6 years ago

2.0.2

7 years ago

2.0.1

7 years ago

2.0.0

7 years ago

1.3.1

7 years ago

1.2.1

7 years ago

1.1.2

7 years ago

1.1.1

7 years ago

1.0.0

7 years ago