title: How to implement pagination for mongodb in node.js using official mongodb client?
body: <p>I want to implement pagination for <a href="https://en.wikipedia.org/wiki/MongoDB" rel="nofollow noreferrer">mongodb</a> in <a href="https://en.wikipedia.org/wiki/Node.js" rel="nofollow noreferrer">node.js</a> enviroment using <a href="http://mongodb.github.io/node-mongodb-native/3.1/quick-start/quick-start/" rel="nofollow noreferrer">offical mongodb package</a>. I tried to find out on internet but all are <a href="https://mongoosejs.com/" rel="nofollow noreferrer">mongoose</a> based links. I dont want to use mongoose. </p>
  
  <p>How can I implement pagination using official client api given at<br>
   <a href="http://mongodb.github.io/node-mongodb-native/3.1/api/" rel="nofollow noreferrer">http://mongodb.github.io/node-mongodb-native/3.1/api/</a></p>