paginate-middleware (npm): paginates data either mongoose model or an array data
Keywords: pagination|node.js|middleware|javascript|array