# burl-invert

> Invert the previous and next _link values

Latest version **2.0.0** (published 2014-10-14) · MIT license · 0 weekly downloads

## Install

```sh
npm install burl-invert
pnpm add burl-invert
yarn add burl-invert
bun add burl-invert
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 2.0.0 |
| Published | 2014-10-14 |
| First published | 2014-10-14 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 2 |
| Maintainers | yoshuawuyts |
| Keywords | burl, hal, links, invert |

## Links

- npm: https://www.npmjs.com/package/burl-invert
- Repository: https://github.com/yoshuawuyts/burl-invert
- Issues: https://github.com/yoshuawuyts/burl-invert/issues
- npm.io page: https://npm.io/package/burl-invert

## Alternatives

- [base64url](https://npm.io/package/base64url.md) — 6.1M weekly downloads
- [get-installed-path](https://npm.io/package/get-installed-path.md) — 502.9K weekly downloads
- [@uppy/url](https://npm.io/package/@uppy/url.md) — 185.8K weekly downloads
- [@d3fc/d3fc-shape](https://npm.io/package/@d3fc/d3fc-shape.md) — 16.2K weekly downloads
- [localizer](https://npm.io/package/localizer.md) — 226 weekly downloads

## Recent versions

- 2.0.0 (latest) — 2014-10-14
- 1.0.0 — 2014-10-14

## README

# burl-invert
[![NPM version][npm-image]][npm-url]
[![build status][travis-image]][travis-url]
[![Test coverage][coveralls-image]][coveralls-url]
[![Downloads][downloads-image]][downloads-url]

Invert the `previous` and `next` `_link` values. Makes sure the correct
comparison is executed within `burl`, but the returned values are inverted.

## Installation
```bash
npm install burl-invert
```

## Usage
```js
var invert = require('burl-invert');
var burl = require('burl');

var links = invert(burl());
links.set({
  previous: 'mysite.com/?from=7654321',
  next: 'mysite.com/?until=1234567'
});

links.get();
// => {
//   previous: 'mysite.com/?from=7654321',
//   next: 'mysite.com/?until=1234567'
// }
```

## See also
- [burl][burl]

## License
[MIT](https://tldrlegal.com/license/mit-license)

[npm-image]: https://img.shields.io/npm/v/burl-invert.svg?style=flat-square
[npm-url]: https://npmjs.org/package/burl-invert
[travis-image]: https://img.shields.io/travis/yoshuawuyts/burl-invert.svg?style=flat-square
[travis-url]: https://travis-ci.org/yoshuawuyts/burl-invert
[coveralls-image]: https://img.shields.io/coveralls/yoshuawuyts/burl-invert.svg?style=flat-square
[coveralls-url]: https://coveralls.io/r/yoshuawuyts/burl-invert?branch=master
[downloads-image]: http://img.shields.io/npm/dm/burl-invert.svg?style=flat-square
[downloads-url]: https://npmjs.org/package/burl-invert

[burl]: https://github.com/yoshuawuyts/burl

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