{"_id":"ss-paging-vue","_rev":"74-242327d60e340198b352322afa8033f0","name":"ss-paging-vue","dist-tags":{"latest":"3.1.2"},"versions":{"3.0.6":{"name":"ss-paging-vue","version":"3.0.6","keywords":["vue","pagination","paging","pinia"],"author":{"name":"Adnan Zaki"},"license":"MIT","_id":"ss-paging-vue@3.0.6","maintainers":[{"name":"adnzaki","email":"azzackey@gmail.com"}],"homepage":"https://lib.actudent.com/ss-paging","bugs":{"url":"https://github.com/adnzaki/ss-paging/issues"},"dist":{"shasum":"0704e717aacb4c5cb77c48f31d29806d766b13f4","tarball":"https://registry.npmjs.org/ss-paging-vue/-/ss-paging-vue-3.0.6.tgz","fileCount":36,"integrity":"sha512-x7UphNZnUiSuKxelg/1Eok2DyXS/lzpFoShWotFThyYhWClA4TUl5FEm3O+eOXTt4goKFV6Tv2xbst3U5IKYqQ==","signatures":[{"sig":"MEYCIQDocgYTu+2kJu73rQ2EcAagZ+pMF69nie1IUr+QsLxXoQIhALHcVLycM5pdfb8fw0OlF906itv8cMvKI+iNujdSpzg9","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":158540},"main":"dist/index.js","type":"module","types":"dist/types/index.d.ts","gitHead":"35528549ea35189e1382068858f74550d9967151","scripts":{"test":"echo \"Error: no test specified\" && exit 1","docs:dev":"vitepress dev docs","docs:build":"vitepress build docs","docs:preview":"vitepress preview docs","paging:build":"rollup --config --bundleConfigAsCjs"},"_npmUser":{"name":"adnzaki","email":"azzackey@gmail.com"},"repository":{"url":"git+https://github.com/adnzaki/ss-paging.git","type":"git"},"_npmVersion":"10.2.1","description":"SSPaging: Server-side pagination library for Vue.js","directories":{},"_nodeVersion":"20.9.0","dependencies":{"tslib":"^2.8.1"},"_hasShrinkwrap":false,"devDependencies":{"vue":"^3.5.13","eslint":"^9.20.1","vitepress":"^2.0.0-alpha.4","typescript":"^5.7.3","@rollup/plugin-typescript":"^12.1.2","@typescript-eslint/parser":"^8.24.1","@rollup/plugin-node-resolve":"^16.0.0","@typescript-eslint/eslint-plugin":"^8.24.1"},"peerDependencies":{"pinia":"^3.0.1"},"_npmOperationalInternal":{"tmp":"tmp/ss-paging-vue_3.0.6_1745202426836_0.3755118045697601","host":"s3://npm-registry-packages-npm-production"}},"3.0.8":{"name":"ss-paging-vue","version":"3.0.8","keywords":["vue","pagination","paging","pinia"],"author":{"name":"Adnan Zaki"},"license":"MIT","_id":"ss-paging-vue@3.0.8","maintainers":[{"name":"adnzaki","email":"azzackey@gmail.com"}],"homepage":"https://lib.actudent.com/ss-paging","bugs":{"url":"https://github.com/adnzaki/ss-paging/issues"},"dist":{"shasum":"ad4288bb9fe31f9aad463b837dce9c63ec33242c","tarball":"https://registry.npmjs.org/ss-paging-vue/-/ss-paging-vue-3.0.8.tgz","fileCount":36,"integrity":"sha512-C+PVWd9UTmVdu57PQKIHD+Ilh2YHKKpr2z9Yn13NOe4Fqh5CIRMcPB2SBEzjdtm7eke/bb2cihZXh7kxfFdDjw==","signatures":[{"sig":"MEUCIQC8NTEn9v3dRTP3gjta05HruRHCwjWpNuIfe5c2bewK7AIgGli3eu3kT1z1jNWS6AVJyL3TbYY302ZUjaykPeqWdh4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":158665},"main":"dist/index.js","type":"module","types":"dist/types/index.d.ts","gitHead":"73f6a0fa4a5fe6873c267407954726245f083b06","scripts":{"test":"echo \"Error: no test specified\" && exit 1","docs:dev":"vitepress dev docs","docs:build":"vitepress build docs","docs:preview":"vitepress preview docs","paging:build":"rollup --config --bundleConfigAsCjs && vitepress build docs"},"_npmUser":{"name":"adnzaki","email":"azzackey@gmail.com"},"repository":{"url":"git+https://github.com/adnzaki/ss-paging.git","type":"git"},"_npmVersion":"10.2.1","description":"SSPaging: Server-side pagination library for Vue.js","directories":{},"_nodeVersion":"20.9.0","dependencies":{"tslib":"^2.8.1"},"_hasShrinkwrap":false,"devDependencies":{"vue":"^3.5.13","eslint":"^9.20.1","vitepress":"^2.0.0-alpha.4","typescript":"^5.7.3","@rollup/plugin-typescript":"^12.1.2","@typescript-eslint/parser":"^8.24.1","@rollup/plugin-node-resolve":"^16.0.0","@typescript-eslint/eslint-plugin":"^8.24.1"},"peerDependencies":{"pinia":"^3.0.1"},"_npmOperationalInternal":{"tmp":"tmp/ss-paging-vue_3.0.8_1745220614811_0.11358821285190834","host":"s3://npm-registry-packages-npm-production"}},"3.0.9":{"name":"ss-paging-vue","version":"3.0.9","keywords":["vue","pagination","paging","pinia"],"author":{"name":"Adnan Zaki"},"license":"MIT","_id":"ss-paging-vue@3.0.9","maintainers":[{"name":"adnzaki","email":"azzackey@gmail.com"}],"homepage":"https://lib.actudent.com/ss-paging","bugs":{"url":"https://github.com/adnzaki/ss-paging/issues"},"dist":{"shasum":"27d890d89bb189eb49aa515d54dba23f92022ac6","tarball":"https://registry.npmjs.org/ss-paging-vue/-/ss-paging-vue-3.0.9.tgz","fileCount":36,"integrity":"sha512-WRk8Rgu4anLRC+jWdNzy2c1RwuuRRJ9cnceChNOJZv58lcRTpH1DzVQULo7G7t8h1tUgZzsQjeM4O1BxY7YiNg==","signatures":[{"sig":"MEUCIQD50QoAaG+ssR0Kkz/GT/UdfCw0wh73Hrcm2CeVJUVDqQIgcvO0GTBac8M+UqegiyraEOhGhuvzwzD/qRQHKat/p10=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":159534},"main":"dist/index.js","type":"module","types":"dist/types/index.d.ts","gitHead":"73f6a0fa4a5fe6873c267407954726245f083b06","scripts":{"test":"echo \"Error: no test specified\" && exit 1","docs:dev":"vitepress dev docs","docs:build":"vitepress build docs","docs:preview":"vitepress preview docs","paging:build":"rollup --config --bundleConfigAsCjs && vitepress build docs"},"_npmUser":{"name":"adnzaki","email":"azzackey@gmail.com"},"repository":{"url":"git+https://github.com/adnzaki/ss-paging.git","type":"git"},"_npmVersion":"10.9.2","description":"SSPaging: Server-side pagination library for Vue.js","directories":{},"_nodeVersion":"22.17.0","dependencies":{"tslib":"^2.8.1"},"_hasShrinkwrap":false,"devDependencies":{"vue":"^3.5.13","eslint":"^9.20.1","vitepress":"^2.0.0-alpha.4","typescript":"^5.7.3","@rollup/plugin-typescript":"^12.1.2","@typescript-eslint/parser":"^8.24.1","@rollup/plugin-node-resolve":"^16.0.0","@typescript-eslint/eslint-plugin":"^8.24.1"},"peerDependencies":{"pinia":"^3.0.1"},"_npmOperationalInternal":{"tmp":"tmp/ss-paging-vue_3.0.9_1752821152588_0.3413089402089051","host":"s3://npm-registry-packages-npm-production"}},"3.1.0":{"name":"ss-paging-vue","version":"3.1.0","keywords":["vue","pagination","paging","pinia"],"author":{"name":"Adnan Zaki"},"license":"MIT","_id":"ss-paging-vue@3.1.0","maintainers":[{"name":"adnzaki","email":"azzackey@gmail.com"}],"homepage":"https://lib.actudent.com/ss-paging","bugs":{"url":"https://github.com/adnzaki/ss-paging/issues"},"dist":{"shasum":"ad5ad3a9b9a1941cc9b79754715e1b6678f6354a","tarball":"https://registry.npmjs.org/ss-paging-vue/-/ss-paging-vue-3.1.0.tgz","fileCount":36,"integrity":"sha512-11BftPdeB1jBED/UimbVeFZR6en5ly7eK81iqjgML6RsNrge8eJXVgAdvBPQbNh39SxP6Fha1kbzS5nJAFQ4Ug==","signatures":[{"sig":"MEYCIQCZ4TeJ36INsUVzTKEwP1jz8zMGfSIrwHhESDNVeINTBwIhAMP5vgy6a74x43zpg/4zN1AVmjvSCnjs1o2Ok/UJWmgo","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":159777},"main":"dist/index.js","type":"module","types":"dist/types/index.d.ts","gitHead":"d4063247b1d9f9fba0ea754b1b02dc70f2a8f318","scripts":{"test":"echo \"Error: no test specified\" && exit 1","docs:dev":"vitepress dev docs","docs:build":"vitepress build docs","docs:preview":"vitepress preview docs","paging:build":"rollup --config --bundleConfigAsCjs && vitepress build docs"},"_npmUser":{"name":"adnzaki","email":"azzackey@gmail.com"},"repository":{"url":"git+https://github.com/adnzaki/ss-paging.git","type":"git"},"_npmVersion":"10.9.2","description":"SSPaging: Server-side pagination library for Vue.js","directories":{},"_nodeVersion":"22.17.0","dependencies":{"tslib":"^2.8.1"},"_hasShrinkwrap":false,"devDependencies":{"vue":"^3.5.13","eslint":"^9.20.1","vitepress":"^2.0.0-alpha.4","typescript":"^5.7.3","@rollup/plugin-typescript":"^12.1.2","@typescript-eslint/parser":"^8.24.1","@rollup/plugin-node-resolve":"^16.0.0","@typescript-eslint/eslint-plugin":"^8.24.1"},"peerDependencies":{"pinia":"^3.0.1"},"_npmOperationalInternal":{"tmp":"tmp/ss-paging-vue_3.1.0_1752821638210_0.0508258940015649","host":"s3://npm-registry-packages-npm-production"}},"3.1.1":{"name":"ss-paging-vue","version":"3.1.1","keywords":["vue","pagination","paging","pinia"],"author":{"name":"Adnan Zaki"},"license":"MIT","_id":"ss-paging-vue@3.1.1","maintainers":[{"name":"adnzaki","email":"azzackey@gmail.com"}],"homepage":"https://lib.actudent.com/ss-paging","bugs":{"url":"https://github.com/adnzaki/ss-paging/issues"},"dist":{"shasum":"857671fbd840d237646d940ebca1b0d63f9603cd","tarball":"https://registry.npmjs.org/ss-paging-vue/-/ss-paging-vue-3.1.1.tgz","fileCount":36,"integrity":"sha512-Nz+2IQp6tFvwD3YIbAt15eLHrM0RNcfH9V+ZF8V3G5G951gejjjOdq63+hdSiXPkXJYyzl3AzFHqv+NZ4ISiQQ==","signatures":[{"sig":"MEUCIQDXOVQBlkXgcXtUdEioFuFP2Kg2nUl8lvyMgN/l+fS5hQIgbakSX+MV0YXu8NvwJJvDys7wO04tVOE6WnRUM84zF64=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":160554},"main":"dist/index.js","type":"module","types":"dist/types/index.d.ts","gitHead":"e26ce75b48ed2c16ed70c8910a5c72bde7240a3b","scripts":{"test":"echo \"Error: no test specified\" && exit 1","docs:dev":"vitepress dev docs","docs:build":"vitepress build docs","docs:preview":"vitepress preview docs","paging:build":"rollup --config --bundleConfigAsCjs && vitepress build docs"},"_npmUser":{"name":"adnzaki","email":"azzackey@gmail.com"},"repository":{"url":"git+https://github.com/adnzaki/ss-paging.git","type":"git"},"_npmVersion":"10.9.2","description":"SSPaging: Server-side pagination library for Vue.js","directories":{},"_nodeVersion":"22.17.0","dependencies":{"tslib":"^2.8.1"},"_hasShrinkwrap":false,"devDependencies":{"vue":"^3.5.13","eslint":"^9.20.1","vitepress":"^2.0.0-alpha.4","typescript":"^5.7.3","@rollup/plugin-typescript":"^12.1.2","@typescript-eslint/parser":"^8.24.1","@rollup/plugin-node-resolve":"^16.0.0","@typescript-eslint/eslint-plugin":"^8.24.1"},"peerDependencies":{"pinia":"^3.0.1"},"_npmOperationalInternal":{"tmp":"tmp/ss-paging-vue_3.1.1_1752823396784_0.7416026911522535","host":"s3://npm-registry-packages-npm-production"}},"3.1.2":{"name":"ss-paging-vue","version":"3.1.2","description":"SSPaging: Server-side pagination library for Vue.js","main":"dist/index.js","directories":{},"type":"module","types":"dist/types/index.d.ts","scripts":{"test":"echo \"Error: no test specified\" && exit 1","docs:dev":"vitepress dev docs","docs:build":"vitepress build docs","docs:preview":"vitepress preview docs","paging:build":"rollup --config --bundleConfigAsCjs && vitepress build docs"},"repository":{"type":"git","url":"git+https://github.com/adnzaki/ss-paging.git"},"keywords":["vue","pagination","paging","pinia"],"author":{"name":"Adnan Zaki"},"license":"MIT","bugs":{"url":"https://github.com/adnzaki/ss-paging/issues"},"homepage":"https://lib.actudent.com/ss-paging","devDependencies":{"@rollup/plugin-node-resolve":"^16.0.0","@rollup/plugin-typescript":"^12.1.2","@typescript-eslint/eslint-plugin":"^8.24.1","@typescript-eslint/parser":"^8.24.1","eslint":"^9.20.1","typescript":"^5.7.3","vitepress":"^2.0.0-alpha.4","vue":"^3.5.13"},"dependencies":{"tslib":"^2.8.1"},"peerDependencies":{"pinia":"^3.0.1"},"_id":"ss-paging-vue@3.1.2","gitHead":"d5d31fc54bc206568e6801664373fd91260aecae","_nodeVersion":"22.17.0","_npmVersion":"10.9.2","dist":{"integrity":"sha512-UBmEAD5nP8piocpQdQyhh61C71zdjrf39oribFl/y1lXLzwxOwxWmkND4LiZ4bsBBcRX4zjVMHBcKM25vnxKkA==","shasum":"bd9ba3f7555be3def60ca82a62c373fac8df74a8","tarball":"https://registry.npmjs.org/ss-paging-vue/-/ss-paging-vue-3.1.2.tgz","fileCount":36,"unpackedSize":160532,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQDsmykYvKt2EEab9aBbXRwiJFfS9TackdmHezFKOsqNIwIgOxUSvv2vSiZat/xVFYjc769XMPOG1UwJDla9mmme2Pk="}]},"_npmUser":{"name":"adnzaki","email":"azzackey@gmail.com"},"maintainers":[{"name":"adnzaki","email":"azzackey@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/ss-paging-vue_3.1.2_1752827167826_0.7705660560170342"},"_hasShrinkwrap":false}},"time":{"created":"2025-04-21T02:27:06.835Z","modified":"2025-07-18T08:26:08.183Z","2.2.3":"2023-02-28T16:02:47.429Z","2.2.4":"2023-03-01T05:32:12.626Z","2.2.5":"2023-03-01T06:00:49.548Z","2.2.6":"2023-03-01T08:18:04.298Z","2.2.7":"2023-03-02T05:35:48.902Z","2.2.8":"2023-03-06T03:39:14.056Z","2.2.9":"2023-03-07T07:32:51.252Z","2.3.0":"2023-03-11T05:15:16.993Z","2.3.1":"2023-03-11T06:03:53.488Z","2.3.2":"2023-03-11T06:10:51.779Z","2.3.0-alpha.1":"2023-03-11T14:00:18.820Z","2.3.0-alpha.2":"2023-03-11T14:08:59.321Z","2.3.0-alpha.3":"2023-03-11T14:57:13.893Z","2.3.0-alpha.4":"2023-03-12T15:30:12.304Z","2.3.0-alpha.5":"2023-03-13T01:49:07.940Z","2.3.0-beta.1":"2023-03-14T02:50:31.013Z","2.3.0-stable":"2023-03-16T08:36:15.366Z","3.0.0-alpha.2":"2023-03-24T01:12:34.104Z","3.0.0-alpha.3":"2023-03-24T01:25:52.423Z","3.0.0-alpha.4":"2023-03-24T01:31:07.676Z","3.0.0-alpha.5":"2023-03-24T01:32:35.750Z","3.0.0-alpha.6":"2023-03-24T01:46:19.882Z","3.0.0-alpha.7":"2023-03-30T00:54:51.151Z","3.0.0-alpha.8":"2023-03-30T01:40:35.923Z","3.0.0-alpha.9":"2023-03-30T01:44:32.877Z","3.0.0-alpha.10":"2023-03-30T01:52:40.469Z","3.0.0-alpha.11":"2023-03-30T02:51:23.507Z","3.0.0-alpha.12":"2023-03-30T02:59:50.500Z","3.0.0-alpha.13":"2023-03-30T07:05:09.101Z","3.0.0-alpha.14":"2023-04-10T04:44:00.859Z","3.0.0-alpha.15":"2023-04-10T04:47:27.181Z","3.0.0-alpha.16":"2023-04-10T05:24:34.622Z","3.0.0-alpha.17":"2023-04-10T05:35:56.724Z","3.0.0-alpha.18":"2023-04-10T05:47:35.484Z","3.0.0-alpha.19":"2023-04-10T05:51:53.402Z","3.0.0-alpha.20":"2023-04-10T15:04:42.641Z","3.0.0-alpha.21":"2023-04-10T15:58:37.196Z","3.0.0-alpha.22":"2023-04-10T15:59:51.957Z","3.0.0-beta.1":"2023-07-12T04:45:53.869Z","3.0.0-beta.2":"2023-07-12T04:55:14.394Z","3.0.0-beta.3":"2023-07-18T03:50:36.994Z","3.0.0-beta.4":"2025-01-15T07:53:54.728Z","3.0.0-rc.1":"2025-01-16T03:18:48.094Z","3.0.0-rc.2":"2025-01-30T08:08:09.935Z","3.0.0-rc.3":"2025-02-05T05:50:37.940Z","3.0.0":"2025-02-10T06:07:18.829Z","3.0.1":"2025-02-19T03:38:19.422Z","3.0.2":"2025-02-21T08:06:40.858Z","3.0.3":"2025-04-16T03:05:51.772Z","3.0.4":"2025-04-16T06:41:21.841Z","3.0.6":"2025-04-21T02:27:07.036Z","3.0.7":"2025-04-21T03:25:31.042Z","3.0.8":"2025-04-21T07:30:15.002Z","3.0.9":"2025-07-18T06:45:52.756Z","3.1.0":"2025-07-18T06:53:58.376Z","3.1.1":"2025-07-18T07:23:16.957Z","3.1.2":"2025-07-18T08:26:08.005Z"},"bugs":{"url":"https://github.com/adnzaki/ss-paging/issues"},"author":{"name":"Adnan Zaki"},"license":"MIT","homepage":"https://lib.actudent.com/ss-paging","keywords":["vue","pagination","paging","pinia"],"repository":{"type":"git","url":"git+https://github.com/adnzaki/ss-paging.git"},"description":"SSPaging: Server-side pagination library for Vue.js","maintainers":[{"name":"adnzaki","email":"azzackey@gmail.com"}],"readme":"<p align=\"center\">\r\n  <a href=\"https://lib.actudent.com/ss-paging\" target=\"_blank\" rel=\"noopener noreferrer\">\r\n    <img width=\"100\" src=\"https://lib.actudent.com/ss-paging/sspaging-logo.png\" alt=\"SSPaging logo\">\r\n  </a>\r\n</p>\r\n\r\n<p align=\"center\">\r\n  <a href=\"https://github.com/adnzaki/ss-paging/actions/workflows/codeql.yml\">\r\n    <img alt=\"CodeQL\" src=\"https://github.com/adnzaki/ss-paging/actions/workflows/codeql.yml/badge.svg\">\r\n  </a>   \r\n  <img alt=\"npm\" src=\"https://img.shields.io/npm/dt/ss-paging-vue\">\r\n  <img alt=\"npm\" src=\"https://img.shields.io/npm/v/ss-paging-vue\">\r\n  <img alt=\"License\" src=\"https://img.shields.io/npm/l/ss-paging-vue\">\r\n</p>\r\n\r\n# SSPaging\r\nSSPaging is a lightweight server-side (or low-level) pagination library for Vue.js. The name is derived from **Smartscore Pagination, a previous project by its creator. It offers ready-to-use functions and reactive properties to simplify pagination. Built-in components are available for quick integration, while custom implementations can be built using the provided examples.\r\n\r\n\r\n## Installation\r\nInstall SSPaging via NPM:\r\n```sh\r\nnpm install ss-paging-vue\r\n```\r\n\r\n## Breaking Changes in v3.x\r\nStarting from v3.x, SSPaging uses a unified codebase for both the Composition API and Pinia versions. This changes how the state is accessed.\r\n  \r\n- In **v2.x**, Pinia users could access the state directly using `paging.rows`.  \r\n- In **v3.x**, it must be accessed via `paging.state.rows`.\r\n\r\n## Basic Usage\r\nAfter installation, import either the composable or Pinia version of SSPaging, depending on your preferred state management approach:\r\n\r\n```javascript\r\nimport { usePaging, usePagingStore } from 'ss-paging-vue'\r\n\r\n// Using composables\r\nconst paging = usePaging()\r\n\r\n// Using Pinia\r\nconst paging = usePagingStore()\r\n```\r\nTo use SSPaging without a build tool, include it via CDN:\r\n\r\n```html\r\n<script src=\"https://unpkg.com/ss-paging-vue@latest/dist/ss-paging.dist.js\"></script>\r\n```\r\n```javascript\r\n// In your JS file\r\nconst paging = SSPaging.usePaging()\r\n```\r\n\r\n## Documentation\r\nFor full documentation, visit the **[SSPaging Official Documentation](https://lib.actudent.com/ss-paging/).**\r\n\r\n## Contribution\r\nWant to contribute? Feel free to submit a pull request for bug fixes or new features. 🚀\r\n","readmeFilename":"README.md"}