
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
code42day-pager
Advanced tools
Simple pager optionally without numbers. Demo is here
Install with npm:
$ npm install -S code42day-pager
You need a DOM element with .pager class to create pager. See example
var pager = require('pager');
var numeric = pager(document.querySelector('.numeric')).total(5).render();
The actual content displayed by pages is CSS driven. By default the page number is displayed but you
can style .active and .incactive class to display whatever you want: custom fonts, shapes,
colors etc.
Creates a pager as a child of el
Pager is not rendered until render is called
Render pager - needs to be called whenever number ot total pages changes.
Sets number of pages to be displayed. Pages are numbered from 0 to n-1.
You need ot call render to refresh the component it total changes.
Selects n-th page - n is 0-based
show is generated whenver user clicks on a page, its parameter is a 0-based page number
MIT
FAQs
simple pager optionally without numbers
We found that code42day-pager demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.