npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@skriptx2/jspaginator

v1.0.2

Published

A lightweight and flexible Vanilla JavaScript library for adding pagination to any list of items. Compatible with any frameworks or standalone projects.

Readme

jsPaginator

Description

jspaginator is an open-source, lightweight JavaScript library for creating paginated tables or any items. Designed as an alternative to heavy libraries like DataTables, it offers a reduced size, no external dependencies, and extensive configuration options for a seamless developer experience. Its small footprint ~6KB ensures rapid loading times and makes it particularly suited for projects where performance and simplicity are paramount.

Features

  • Lightweight: Minimal library size, ensuring faster load times.
  • No Dependencies: Standalone library – no need for jQuery or other external libraries.
  • Customizable: Extensive configuration options to tailor the paginator to your needs.
  • Fast Rendering: Optimized for large datasets with minimal overhead.
  • Responsive: Works across all modern devices and browsers.
  • Theming Support: Easily customize the appearance of the table and pagination controls.
  • API Support: Fetch and render data dynamically from server-side APIs.

Getting Started

npm i @skriptx2/jspaginator

Demos

Vanilla html

Load your script file with type = module


<script type="module" src="./script.js"></script>

use jspaginator.module.js file to import paginator


import { Paginator} from '../assets/jspaginator.module.js';

Live Example

https://stackblitz.com/edit/jspaginator-vanillahtml?file=index.html

React JS

https://stackblitz.com/edit/jspaginator-react?embed=1&file=src%2FApp.tsx

Angular Example

https://stackblitz.com/edit/jspaginator-angular?embed=1&file=src%2Fmain.ts

Vue Example

https://stackblitz.com/edit/jspaginator-vue?embed=1&file=src%2Fcomponents%2FTable.vue

Config Options

config:{
infoText:string;
itemsPerPage:number;
classNames:{
    active?:string,
    wrapper?: string,
    nav?:string,
    ul?:string,
    li?:string,
    button?:string,
    summary?:string,
    span?:string,
    selectDiv?:string,
    select?:string,
},
totalItems:number,
filtered:number,
html: {
    prev?:string|boolean,
    next?:string|boolean,
    first?:string|boolean,
    last?:string|boolean,
    number?:string|boolean,
    maxNumbers?:any
},
onPageChange:Function;
currentPage:number;
server:boolean;
}

License

This project is licensed under the MIT License.

Support

If you encounter any issues, feel free to open an issue in the GitHub Issues section. For discussions or suggestions, join our community on Discussions.