Skip to main content

Mongoose Relay Paginate

Paginate your Mongoose queries Relay style

mongoose-relay-paginate logo

Easy to Use

Just import the package, setup the global mongoose plugin, add types to your models and start using .relayPaginate() on your mongoose queries

Works with GraphQL Relay Connections

Turns documents to nodes, edges, and paging information. Just provide a query and some pagination options.

Powered by Mongoose

Built using mongoose with zero external dependencies.