Pagination for the Elixir ecosystem
Elixir
Latest commit 081a26c Feb 3, 2017 @drewolson Update dependencies

README.md

Scrivener

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

Installation

Add scrivener to your mix.exs applications and dependencies.

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

Contributing

You can run the tests with the following command:

mix test