mongoose-cursor
Based on https://github.com/edwardhotchkiss/mongoose-paginate
An example extracted from Parkuik (www.parkuik.com) source code:
exports { var page = reqquerypage; var Parking = mongoose; Parking }
The structure for the response (for example, if you want to use res.json()):