Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/lume/plugins/paginate.ts>PaginateOptions

🔥 Static site generator for Deno 🦕
Very Popular
Latest
interface PaginateOptions
import { type PaginateOptions } from "https://deno.land/x/lume@v2.4.1/plugins/paginate.ts";

The options for the paginate helper

Properties

optional
size: number

The number of elements per page

optional
url: (page: number) => string

The function to generate the url of the pages

optional
each: (data: PaginateResult<unknown>, page: number) => void

Function to modify or add extra data to each page