Parse GitHub
link
header response
Install
$ npm install --save github-parse-link
Usage
const parse = ; ;//=> {next: 'foo', last: 'bar'} ;//=> {prev: 'foz', first: 'baz'}
API
parse(input)
input
Type: string
The GitHub link
header response to parse.
License
MIT © Sam Verschueren