1 مستودع
Dividing datasets into pages based on a starting record index and a fixed page limit.
Distinct from Index-to-Offset Calculations: Candidates focus on UI scroll offsets or string slicing, not database collection pagination.
Explore 1 awesome GitHub repository matching data & databases · Offset Pagination. Refine with filters or upvote what's useful.
Pagy is a framework-agnostic Ruby pagination library used to split large datasets into numbered pages. It provides multiple implementations for dividing data, including offset-based slicing for standard collections and high-performance keyset pagination for massive datasets. The library includes a pagination UI generator for rendering accessible HTML navigation bars and a dedicated tool for REST API pagination that produces RFC-compliant link headers and JSON metadata. It also features specialized systems for dividing results from search engines like Elasticsearch, Meilisearch, and Typesense,
Divides collections into discrete pages by calculating the starting record index and a fixed limit.