Socket
Book a DemoInstallSign in
Socket

burl-invert

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

burl-invert

Invert the previous and next _link values

latest
Source
npmnpm
Version
2.0.0
Version published
Maintainers
1
Created
Source

burl-invert

NPM version build status Test coverage Downloads

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

Installation

npm install burl-invert

Usage

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

License

MIT

Keywords

burl

FAQs

Package last updated on 14 Oct 2014

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