# pagurbation

> Server side pagination

Latest version **0.1.4** (published 2017-05-20) · MIT license · 0 weekly downloads

## Install

```sh
npm install pagurbation
pnpm add pagurbation
yarn add pagurbation
bun add pagurbation
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.4 |
| Published | 2017-05-20 |
| First published | 2017-04-30 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=6 |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Michael Prather |
| Maintainers | mprather |

## Links

- npm: https://www.npmjs.com/package/pagurbation
- Repository: https://github.com/shintech/pagurbation
- Homepage: https://github.com/shintech/pagurbation#readme
- Issues: https://github.com/shintech/pagurbation/issues
- npm.io page: https://npm.io/package/pagurbation

## Recent versions

- 0.1.4 (latest) — 2017-05-20
- 0.1.3 — 2017-05-11
- 0.1.2 — 2017-04-30
- 0.1.1 — 2017-04-30
- 0.0.2 — 2017-04-30

## README

## Pagurbation

### Synopsis

Server side pagination

### Installation

    npm install --save pagurbation

### Usage

    import pagurbation from 'pagurbation'

    // pagurbation(req, data, pageSize)

    function getModels (req, res, next) {
      db.any('select * from models')
      .then(function (data) {
        res.status(200)
        .json(pagurbation(req, data, 10))
      }
      .catch(function (err) {
        return next(err)
      }
    }

---
_Source: https://npm.io/package/pagurbation · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
