array-page-helper
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

page-params

Simple page helper supports params for array data pageable.

Installation

npm i array-page-helper --save

Usage

import ArrayPageHelper from "array-page-helper";

const data = [];

const p = ArrayPageHelper.of(3, 15);

data.slice(p.start, p.end);
// or
p.paging(data);

Package Sidebar

Install

npm i array-page-helper

Weekly Downloads

2

Version

1.0.0

License

MIT

Unpacked Size

19.1 kB

Total Files

11

Last publish

Collaborators

  • chengyuxing