Scrivener

Build
Status

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.

Low Maintenance Warning

This library is in low maintenance mode, which means the author is currently only responding to pull requests and breaking issues.

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