loopback-xtotalcount
Version:
Add X-Total-Count header to all search requests
12 lines (7 loc) • 308 B
Markdown
# loopback-denormalize
Add `X-Total-Count` header to all search requests
## Install
1. Add `"loopback-xTotalCount": "latest"` to your `package.json` file then run `npm install` OR run `npm install loopback-xTotalCount`
2. Set the module in your app.js
require('loopback-xTotalCount')(app);
Enjoy ;)