Pagination for the Elixir ecosystem
Clone or download
Latest commit 22f4a1b Jan 19, 2018


Build Status Hex Version Hex docs

Note: You're probably looking for Scrivener.Ecto. Have a look there first.

Scrivener is a pagination library for the Elixir ecosystem. You most likely won't use Scrivener directly, instead using a library that implements Scrivener's Paginater protocol for the type of data you're trying to paginate.

The primary use for Scrivener is the pagination of Ecto queries. For more information, see Scrivener.Ecto.

Related Libraries


Add scrivener to your mix.exs applications and dependencies.

def application do
  [applications: [:scrivener]]
[{:scrivener, "~> 2.0"}]


You can run the tests with the following command:

mix test