node-vendor
installation
npm i node-vendor --save
Usage
import {paginate} from "node-vendor";
const list = [{}, {}, {}, ...];
res.send(paginate(list, {limit: 10, page: 1}));
npm i node-vendor --save
import {paginate} from "node-vendor";
const list = [{}, {}, {}, ...];
res.send(paginate(list, {limit: 10, page: 1}));
npm i node-vendor
0
1.1.0
MIT
2.92 kB
7