Gathering detailed insights and metrics for react-pagination-hook
Gathering detailed insights and metrics for react-pagination-hook
Gathering detailed insights and metrics for react-pagination-hook
Gathering detailed insights and metrics for react-pagination-hook
simplest-react-pagination-hook
This is a simple hook that allows you to easily implement pagination in your React app.
@egose/react-pagination-hook
React pagination hook that interacts with Egose API list endpoint
react-use-pagination-hook
Lightweight headless UI pagination hook
react-use-pagination
A React hook to help manage pagination state
npm install react-pagination-hook
Typescript
Module System
Min. Node Version
Node Version
NPM Version
TypeScript (100%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
MIT License
23 Stars
35 Commits
3 Forks
1 Watchers
22 Branches
2 Contributors
Updated on Feb 28, 2025
Latest Version
0.0.1
Package Id
react-pagination-hook@0.0.1
Unpacked Size
41.73 kB
Size
9.15 kB
File Count
13
NPM Version
6.9.0
Node Version
12.4.0
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
33
A React hook that helps you render a paginator (with TypeScript support)
1npm install react-pagination-hook --save
The hook returns the following object:
1{ 2 activePage: number; 3 isFirst: boolean; 4 isLast: boolean; 5 hasPrevious: boolean; 6 hasNext: boolean; 7 visiblePieces: PaginatorPiece[]; 8 goToPage: (pageNumber: number) => void; 9}
And a PaginatorPiece is either of the following objects:
1{ type: 'previous', pageNumber: number, isDisabled: boolean } 2// or 3{ type: 'next', pageNumber: number, isDisabled: boolean } 4// or 5{ type: 'page-number', pageNumber: number } 6// or 7{ type: 'ellipsis' }
You can use this hook to develop your own pagination component. Check out the demo
👤 Eliseu dos Santos <eliseumds@gmail.com>
Contributions, issues and feature requests are welcome !
Feel free to check issues page.
Give a ⭐️ if this project helped you!
Copyright © 2019 Eliseu dos Santos <eliseumds@gmail.com>.
This project is MIT licensed.
This project was bootstraped with typescript-library-starter
This README was generated with ❤️ by readme-md-generator
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
no SAST tool detected
Details
Reason
Found 0/30 approved changesets -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
98 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-07-07
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More