HTTP Transport Request Collapse
Merges duplicate requests into a single request
Installation
npm install --save @bbc/http-transport-request-collapse
Usage
const HttpTransport = require('@bbc/http-transport');
const collapse = require('@bbc/http-transport-request-collapse').middleware;
const client = HttpTransport
.createBuilder()
.use(collapse())
.createClient();
Key generation
Test
npm test