New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

ss-paging

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ss-paging

SSPaging: Server-side pagination library for Vue.js

latest
Source
npmnpm
Version
3.0.8
Version published
Weekly downloads
0
-100%
Maintainers
1
Weekly downloads
 
Created
Source

SSPaging logo

CodeQL npm npm License

SSPaging

SSPaging 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.

Installation

Install SSPaging via NPM:

npm install ss-paging-vue

Breaking Changes in v3.x

Starting from v3.x, SSPaging uses a unified codebase for both the Composition API and Pinia versions. This changes how the state is accessed.

  • In v2.x, Pinia users could access the state directly using paging.rows.
  • In v3.x, it must be accessed via paging.state.rows.

Basic Usage

After installation, import either the composable or Pinia version of SSPaging, depending on your preferred state management approach:

import { usePaging, usePagingStore } from 'ss-paging-vue'

// Using composables
const paging = usePaging()

// Using Pinia
const paging = usePagingStore()

To use SSPaging without a build tool, include it via CDN:

<script src="https://unpkg.com/ss-paging-vue@latest/dist/ss-paging.dist.js"></script>
// In your JS file
const paging = SSPaging.usePaging()

Documentation

For full documentation, visit the SSPaging Official Documentation.

Contribution

Want to contribute? Feel free to submit a pull request for bug fixes or new features. 🚀

Keywords

vue

FAQs

Package last updated on 21 Apr 2025

Did you know?

Socket

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.

Install

Related posts