Item-Pagination
Getting Started
Introduction
Getting Started
✅ What is Item-Pagination?
Item-Pagination is the function that takes the JavaScript object array as an argument and divides them into pages. Use it to easily provide Pagination on your project!
✅ Installation
Item-Pagination is available as a package on npm.
npm i item-pagination
Or if you are using yarn:
yarn add item-pagination
Or if you are using pnpm:
pnpm add item-pagination
✅ Getting Started
If you finished to install, then you could import getPagination and getTotalPages in your project.
getPagination(data, 6, 1);
getTotalPages(data, 6);
Let's check Quick Start for more information that how to use.