{"_id":"parse-link-header","_rev":"25-5fd08b9eacc68d243dabbe371a280353","name":"parse-link-header","description":"Parses a link header and returns paging information for each contained link.","dist-tags":{"latest":"2.0.0"},"versions":{"0.1.0":{"name":"parse-link-header","version":"0.1.0","description":"Parses a link header and returns paging information for each contained link.","main":"index.js","scripts":{"test":"tap test/*.js"},"repository":{"type":"git","url":"git://github.com/thlorenz/parse-link-header.git"},"homepage":"https://github.com/thlorenz/parse-link-header","dependencies":{"xtend":"~2.0.5"},"devDependencies":{"tape":"~1.0.3","tap":"~0.4.3"},"keywords":["parse","link","header","weblink","web","link","rel"],"author":{"name":"Thorsten Lorenz","email":"thlorenz@gmx.de","url":"http://thlorenz.com"},"license":"MIT","engine":{"node":">=0.6"},"testling":{"files":"test/*.js","browsers":["ie/8..latest","firefox/17..latest","firefox/nightly","chrome/22..latest","chrome/canary","opera/12..latest","opera/next","safari/5.1..latest","ipad/6.0..latest","iphone/6.0..latest","android-browser/4.2..latest"]},"_id":"parse-link-header@0.1.0","dist":{"shasum":"5503fa7fb2f354bb234255c1c421da3eb05b9185","tarball":"https://registry.npmjs.org/parse-link-header/-/parse-link-header-0.1.0.tgz","integrity":"sha512-VZ0pZwX3LRTfpDARULYD2C0fHuQqg7TPSGmPoKEHfBBmBhH7KMG3LV27GkUtjezoixE/CCJNAVnNw54IxkskWg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD8ThJEXoLof6aaQr31Clp7TJqflQ3bsl/2ulcQ3iqrXgIhAJVp+tP1/oDPTRnHRJdynsfb66J/xWHz0HoxyhGUJiOk"}]},"_from":".","_npmVersion":"1.2.14","_npmUser":{"name":"thlorenz","email":"thlorenz@gmx.de"},"maintainers":[{"name":"thlorenz","email":"thlorenz@gmx.de"}],"directories":{}},"0.2.0":{"name":"parse-link-header","version":"0.2.0","description":"Parses a link header and returns paging information for each contained link.","main":"index.js","scripts":{"test":"tap test/*.js"},"repository":{"type":"git","url":"git://github.com/thlorenz/parse-link-header.git"},"homepage":"https://github.com/thlorenz/parse-link-header","dependencies":{"xtend":"~4.0.0"},"devDependencies":{"tape":"~1.0.3","tap":"~0.4.3"},"keywords":["parse","link","header","weblink","web","link","rel"],"author":{"name":"Thorsten Lorenz","email":"thlorenz@gmx.de","url":"http://thlorenz.com"},"license":"MIT","engine":{"node":">=0.6"},"testling":{"files":"test/*.js","browsers":["ie/8..latest","firefox/17..latest","firefox/nightly","chrome/22..latest","chrome/canary","opera/12..latest","opera/next","safari/5.1..latest","ipad/6.0..latest","iphone/6.0..latest","android-browser/4.2..latest"]},"gitHead":"3259c2ef72116f7b1cbb23a1b86b31c95192c120","bugs":{"url":"https://github.com/thlorenz/parse-link-header/issues"},"_id":"parse-link-header@0.2.0","_shasum":"31516097825432afb88039fddc6b9e3b734a70c5","_from":".","_npmVersion":"1.4.23","_npmUser":{"name":"thlorenz","email":"thlorenz@gmx.de"},"maintainers":[{"name":"thlorenz","email":"thlorenz@gmx.de"}],"dist":{"shasum":"31516097825432afb88039fddc6b9e3b734a70c5","tarball":"https://registry.npmjs.org/parse-link-header/-/parse-link-header-0.2.0.tgz","integrity":"sha512-Awu0Z08S3GMDN5U4yOhqyQvVmWbq00xV7w3s3iG67h0g1Zi+OXDqXDN8Mk3gvyywp7hNuKxDw4NFkPjJpy1EYA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDtRnFC1tyt/PNpHpZD52nbkXahYstJqfF8gz2ZwBzxGQIhAInrssiTyRlREjYEON6n9QHeBUbYaVg7qbKQNlg9zAvA"}]},"directories":{}},"0.2.1":{"name":"parse-link-header","version":"0.2.1","description":"Parses a link header and returns paging information for each contained link.","main":"index.js","scripts":{"test":"tap test/*.js"},"repository":{"type":"git","url":"git://github.com/thlorenz/parse-link-header.git"},"homepage":"https://github.com/thlorenz/parse-link-header","dependencies":{"xtend":"~4.0.0"},"devDependencies":{"tape":"~1.0.3","tap":"~0.4.3"},"keywords":["parse","link","header","weblink","web","link","rel"],"author":{"name":"Thorsten Lorenz","email":"thlorenz@gmx.de","url":"http://thlorenz.com"},"license":"MIT","engine":{"node":">=0.6"},"testling":{"files":"test/*.js","browsers":["ie/8..latest","firefox/17..latest","firefox/nightly","chrome/22..latest","chrome/canary","opera/12..latest","opera/next","safari/5.1..latest","ipad/6.0..latest","iphone/6.0..latest","android-browser/4.2..latest"]},"gitHead":"41c6afc40bee113f0e277e643309b87c50e25a01","bugs":{"url":"https://github.com/thlorenz/parse-link-header/issues"},"_id":"parse-link-header@0.2.1","_shasum":"51c29c12db66a8cda9bd64e76fc855c975df009c","_from":".","_npmVersion":"2.11.3","_nodeVersion":"0.12.7","_npmUser":{"name":"thlorenz","email":"thlorenz@gmx.de"},"maintainers":[{"name":"thlorenz","email":"thlorenz@gmx.de"}],"dist":{"shasum":"51c29c12db66a8cda9bd64e76fc855c975df009c","tarball":"https://registry.npmjs.org/parse-link-header/-/parse-link-header-0.2.1.tgz","integrity":"sha512-vQmtlFZ9xmtpx01Fj3d8aGfmV71MYMJnaOIjI88mGXBJnDjok7UULHbQ/I9seJO6ut1cPQ2bdKov1qc8wYP5ZQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCID0d6vloL6cPskg5b/A0ZcPLktn+2JcewmzyYCzUZTiXAiEAqGK+9fM+sf5S546iDBIcg9kBxANhRDS2yLRUJctJac0="}]},"directories":{}},"0.3.0":{"name":"parse-link-header","version":"0.3.0","description":"Parses a link header and returns paging information for each contained link.","main":"index.js","scripts":{"test":"tap test/*.js"},"repository":{"type":"git","url":"git://github.com/thlorenz/parse-link-header.git"},"homepage":"https://github.com/thlorenz/parse-link-header","dependencies":{"xtend":"~4.0.0"},"devDependencies":{"tape":"~1.0.3","tap":"~0.4.3"},"keywords":["parse","link","header","weblink","web","link","rel"],"author":{"name":"Thorsten Lorenz","email":"thlorenz@gmx.de","url":"http://thlorenz.com"},"license":"MIT","engine":{"node":">=0.6"},"testling":{"files":"test/*.js","browsers":["ie/8..latest","firefox/17..latest","firefox/nightly","chrome/22..latest","chrome/canary","opera/12..latest","opera/next","safari/5.1..latest","ipad/6.0..latest","iphone/6.0..latest","android-browser/4.2..latest"]},"gitHead":"08ec888a824ba5fb53c7804f5ff697f4adef8dc6","bugs":{"url":"https://github.com/thlorenz/parse-link-header/issues"},"_id":"parse-link-header@0.3.0","_shasum":"2f5ef1826cbae9cfa4032b36de55dc0bdf2c549f","_from":".","_npmVersion":"2.13.0","_nodeVersion":"2.4.0","_npmUser":{"name":"thlorenz","email":"thlorenz@gmx.de"},"maintainers":[{"name":"thlorenz","email":"thlorenz@gmx.de"}],"dist":{"shasum":"2f5ef1826cbae9cfa4032b36de55dc0bdf2c549f","tarball":"https://registry.npmjs.org/parse-link-header/-/parse-link-header-0.3.0.tgz","integrity":"sha512-7YZsFrZIzmpkfZA1Yyt7lAcSbb953R8RkmTDkOev0FO9fCySGWVOiJ4N7sDVpLkE4JoRbXtufSYk/hna2aCVDw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCVS/w6QT1YZZzktxg8JOItVeAsnMKyISr0axHtf7+ofwIgRo9v5REox6jY4sAce30xqqELZY4WmHU70+nJN+hKu0c="}]},"directories":{}},"0.4.0":{"name":"parse-link-header","version":"0.4.0","description":"Parses a link header and returns paging information for each contained link.","main":"index.js","scripts":{"test":"tap test/*.js"},"repository":{"type":"git","url":"git://github.com/thlorenz/parse-link-header.git"},"homepage":"https://github.com/thlorenz/parse-link-header","dependencies":{"xtend":"~4.0.0"},"devDependencies":{"tape":"~1.0.3","tap":"~0.4.3"},"keywords":["parse","link","header","weblink","web","link","rel"],"author":{"name":"Thorsten Lorenz","email":"thlorenz@gmx.de","url":"http://thlorenz.com"},"license":"MIT","engine":{"node":">=0.6"},"testling":{"files":"test/*.js","browsers":["ie/8..latest","firefox/17..latest","firefox/nightly","chrome/22..latest","chrome/canary","opera/12..latest","opera/next","safari/5.1..latest","ipad/6.0..latest","iphone/6.0..latest","android-browser/4.2..latest"]},"gitHead":"e299b94b210dccd52383b77edcb0b328d32fc307","bugs":{"url":"https://github.com/thlorenz/parse-link-header/issues"},"_id":"parse-link-header@0.4.0","_shasum":"87b958c2c6293dff6b82ec43b2b764a36f810b7d","_from":".","_npmVersion":"2.13.2","_nodeVersion":"2.5.0","_npmUser":{"name":"thlorenz","email":"thlorenz@gmx.de"},"dist":{"shasum":"87b958c2c6293dff6b82ec43b2b764a36f810b7d","tarball":"https://registry.npmjs.org/parse-link-header/-/parse-link-header-0.4.0.tgz","integrity":"sha512-Ht6f90kAFp4SJSWib2H74mzNrHDAFKXYLs38JLRfEyEQAXQV+JgoRkEGrEBaebJcDYPhqZqYcw8KV/hadVHW5g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDrRNHdFIDs43IT0Efi0Htm4WxpIl/aiHbXsWD0wE59xAIgfVpZ4NR+XGSeGU6bDasw/Cy2+QfHzn24nqF0qTJAJm0="}]},"maintainers":[{"name":"thlorenz","email":"thlorenz@gmx.de"}],"directories":{}},"0.4.1":{"name":"parse-link-header","version":"0.4.1","description":"Parses a link header and returns paging information for each contained link.","main":"index.js","scripts":{"test":"tap test/*.js"},"repository":{"type":"git","url":"git://github.com/thlorenz/parse-link-header.git"},"homepage":"https://github.com/thlorenz/parse-link-header","dependencies":{"xtend":"~4.0.0"},"devDependencies":{"tape":"~1.0.3","tap":"~0.4.3"},"keywords":["parse","link","header","weblink","web","link","rel"],"author":{"name":"Thorsten Lorenz","email":"thlorenz@gmx.de","url":"http://thlorenz.com"},"license":"MIT","engine":{"node":">=0.6"},"testling":{"files":"test/*.js","browsers":["ie/8..latest","firefox/17..latest","firefox/nightly","chrome/22..latest","chrome/canary","opera/12..latest","opera/next","safari/5.1..latest","ipad/6.0..latest","iphone/6.0..latest","android-browser/4.2..latest"]},"gitHead":"ef445e525eb9de9eb1b918f73e59ab9b0c5d03f7","bugs":{"url":"https://github.com/thlorenz/parse-link-header/issues"},"_id":"parse-link-header@0.4.1","_shasum":"f6bd615dc6713fd40935ce97945e4d3f522edf14","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"thlorenz","email":"thlorenz@gmx.de"},"maintainers":[{"name":"thlorenz","email":"thlorenz@gmx.de"}],"dist":{"shasum":"f6bd615dc6713fd40935ce97945e4d3f522edf14","tarball":"https://registry.npmjs.org/parse-link-header/-/parse-link-header-0.4.1.tgz","integrity":"sha512-m1TOVDhxIeouBAbqSYFx5dZWo2MZ9Z1piKv4KPTs1o5Vq5fg/BsVpD0WVsf1L5hT05NC2hRh6rq/WjwapTS3Pw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCgZDXm+f94S42ByWsDXNpJtyVW7hwcu29ARAniCMH4twIgL1fOhrPZ+gRBTmi4vNz1BZmpNXD0DqYQjAQm3qtBDFA="}]},"directories":{}},"1.0.0":{"name":"parse-link-header","version":"1.0.0","description":"Parses a link header and returns paging information for each contained link.","main":"index.js","scripts":{"test":"tap test/*.js"},"repository":{"type":"git","url":"git://github.com/thlorenz/parse-link-header.git"},"homepage":"https://github.com/thlorenz/parse-link-header","dependencies":{"xtend":"~4.0.0"},"devDependencies":{"tape":"~1.0.3","tap":"~0.4.3"},"keywords":["parse","link","header","weblink","web","link","rel"],"author":{"name":"Thorsten Lorenz","email":"thlorenz@gmx.de","url":"http://thlorenz.com"},"license":"MIT","engine":{"node":">=0.6"},"testling":{"files":"test/*.js","browsers":["ie/8..latest","firefox/17..latest","firefox/nightly","chrome/22..latest","chrome/canary","opera/12..latest","opera/next","safari/5.1..latest","ipad/6.0..latest","iphone/6.0..latest","android-browser/4.2..latest"]},"gitHead":"e27d65c16663c5a044fb9aa1e1c4aa51941ba1ae","bugs":{"url":"https://github.com/thlorenz/parse-link-header/issues"},"_id":"parse-link-header@1.0.0","_shasum":"df837bb74be8c02e79318014568faa89dc34e637","_from":".","_npmVersion":"2.15.11","_nodeVersion":"6.10.2","_npmUser":{"name":"thlorenz","email":"thlorenz@gmx.de"},"dist":{"shasum":"df837bb74be8c02e79318014568faa89dc34e637","tarball":"https://registry.npmjs.org/parse-link-header/-/parse-link-header-1.0.0.tgz","integrity":"sha512-+6bxkofypmcYMoJZihdQnrL06IHsSSqJ4RR7aVbtfiyKgBEA/EN8kYvQJ7eCxiO/XyPytEVYY858f5mZEcEYIA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHMLiVNyBMJwV0ywWI1Pn0e9lD0lwVEM9dRvvjDEVXewAiBqdCrVW9froS/0TMUcR4/Jyz80RRF/jx97GhbIOCpyNA=="}]},"maintainers":[{"name":"thlorenz","email":"thlorenz@gmx.de"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/parse-link-header-1.0.0.tgz_1493901614680_0.6240748837590218"},"directories":{}},"1.0.1":{"name":"parse-link-header","version":"1.0.1","description":"Parses a link header and returns paging information for each contained link.","main":"index.js","scripts":{"test":"tap test/*.js"},"repository":{"type":"git","url":"git://github.com/thlorenz/parse-link-header.git"},"homepage":"https://github.com/thlorenz/parse-link-header","dependencies":{"xtend":"~4.0.1"},"devDependencies":{"tape":"~1.0.3","tap":"~0.4.3"},"keywords":["parse","link","header","weblink","web","link","rel"],"author":{"name":"Thorsten Lorenz","email":"thlorenz@gmx.de","url":"http://thlorenz.com"},"license":"MIT","engine":{"node":">=0.6"},"testling":{"files":"test/*.js","browsers":["ie/8..latest","firefox/17..latest","firefox/nightly","chrome/22..latest","chrome/canary","opera/12..latest","opera/next","safari/5.1..latest","ipad/6.0..latest","iphone/6.0..latest","android-browser/4.2..latest"]},"gitHead":"38d795b69bf995a158f14a508b1d401a494be282","bugs":{"url":"https://github.com/thlorenz/parse-link-header/issues"},"_id":"parse-link-header@1.0.1","_shasum":"bedfe0d2118aeb84be75e7b025419ec8a61140a7","_from":".","_npmVersion":"2.15.11","_nodeVersion":"6.10.2","_npmUser":{"name":"thlorenz","email":"thlorenz@gmx.de"},"dist":{"shasum":"bedfe0d2118aeb84be75e7b025419ec8a61140a7","tarball":"https://registry.npmjs.org/parse-link-header/-/parse-link-header-1.0.1.tgz","integrity":"sha512-Z0gpfHmwCIKDr5rRzjypL+p93aHVWO7e+0rFcUl9E3sC67njjs+xHFenuboSXZGlvYtmQqRzRaE3iFpTUnLmFQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDAP4cTQgpvRYRo3aotHy3o9wE2rFeCHawbIr0r+hPpnQIhAP/z0R0RqXm6uC8u6EPStufZEGk8Q5TDHdCmjqxpRi0r"}]},"maintainers":[{"name":"thlorenz","email":"thlorenz@gmx.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/parse-link-header-1.0.1.tgz_1496694435980_0.7005087826400995"},"directories":{}},"2.0.0":{"name":"parse-link-header","version":"2.0.0","description":"Parses a link header and returns paging information for each contained link.","main":"index.js","scripts":{"test":"tap test/*.js"},"repository":{"type":"git","url":"git://github.com/thlorenz/parse-link-header.git"},"homepage":"https://github.com/thlorenz/parse-link-header","dependencies":{"xtend":"~4.0.1"},"devDependencies":{"tape":"~1.0.3","tap":"~0.4.3"},"keywords":["parse","link","header","weblink","web","link","rel"],"author":{"name":"Thorsten Lorenz","email":"thlorenz@gmx.de","url":"http://thlorenz.com"},"license":"MIT","engine":{"node":">=0.6"},"testling":{"files":"test/*.js","browsers":["ie/8..latest","firefox/17..latest","firefox/nightly","chrome/22..latest","chrome/canary","opera/12..latest","opera/next","safari/5.1..latest","ipad/6.0..latest","iphone/6.0..latest","android-browser/4.2..latest"]},"gitHead":"a7d59b6b44819a261c936b2374b792aa10ce3f2e","bugs":{"url":"https://github.com/thlorenz/parse-link-header/issues"},"_id":"parse-link-header@2.0.0","_nodeVersion":"14.17.6","_npmVersion":"6.14.4","dist":{"integrity":"sha512-xjU87V0VyHZybn2RrCX5TIFGxTVZE6zqqZWMPlIKiSKuWh/X5WZdt+w1Ki1nXB+8L/KtL+nZ4iq+sfI6MrhhMw==","shasum":"949353e284f8aa01f2ac857a98f692b57733f6b7","tarball":"https://registry.npmjs.org/parse-link-header/-/parse-link-header-2.0.0.tgz","fileCount":7,"unpackedSize":12729,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhu1ynCRA9TVsSAnZWagAATj4P/iw34anyk3BEfjPzVEbr\nQcrc3bsFkNn+2Vs3jRSyEMtrj8mf6UhM7aMXFPsJL3HGJm73N4pScyoh0rQB\nd/SSoNtHN+1NCv3RgImGXC9XhSikxWT0Zikr09JgcLmfHIoi2Q0L/XdqZ9hY\nWLnQzIfuj7kzKFzgMwNQ51LwgeKWYTauuB9CFRqv60cuvR4MqHxah8d9gu2X\nlxHzlFDdctZ2QR3/5elANFDx9azNZglTB2y35kaln2jWv5WpVMyeXNQphUOp\nKeznGRCyhCJ3Nn6qj6v0E6CHVmMorVGNcHYG+ywnANGnY90fKTMt4YjRXHdA\n1UL8IfUEICweNJZxGQTcWO66kFwdZks+IzH2wunlGu3Rgwy5LViCtqRhx3kM\njdZkNlWNKeQn04m05tioWPyoRUuxVwzj5mFb6q2eSh1qfN5jMB2aWOZNuofy\n6IGBq0iYAweSB2ob39Vv8XYRX7FZymGKjrX1yTlLxVGoSwby7ZjNEm5gMMXP\nqg2Mekp5yUyoMdqRciBrc+/TgDDXpuk65BsX+BrbreV+s94WbztQMlx7m53x\nwa6raT5iTB0NVWgHsatMpJXJVsR+zeg3g6sARO1afySkurmwITNt0eflM5Qq\nYHSoAdGsIXpH3mX/RWf2SWPw6Oqr/KfLdjghtIYCp5mNPKgH8dSW8FUYn8Vv\nuD7E\r\n=6Ry/\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIECgSOxS5uNIWhc9vOqcSABAPgeMWxRozbZlTTsrZcwbAiA+mAY5hi74/+xyXj5lenBZa27040fwff5YnwspB25XLQ=="}]},"_npmUser":{"name":"thlorenz","email":"thlorenz10@gmail.com"},"directories":{},"maintainers":[{"name":"thlorenz","email":"thlorenz10@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/parse-link-header_2.0.0_1639668902959_0.05810592524918978"},"_hasShrinkwrap":false}},"readme":"# parse-link-header [![build status](https://secure.travis-ci.org/thlorenz/parse-link-header.png)](http://travis-ci.org/thlorenz/parse-link-header)\n\n[![testling badge](https://ci.testling.com/thlorenz/parse-link-header.png)](https://ci.testling.com/thlorenz/parse-link-header)\n\nParses a link header and returns paging information for each contained link.\n\n```js\nvar parse = require('parse-link-header');\n\nvar linkHeader =\n  '<https://api.github.com/user/9287/repos?page=3&per_page=100>; rel=\"next\", ' +\n  '<https://api.github.com/user/9287/repos?page=1&per_page=100>; rel=\"prev\"; pet=\"cat\", ' +\n  '<https://api.github.com/user/9287/repos?page=5&per_page=100>; rel=\"last\"'\n\nvar parsed = parse(linkHeader);\nconsole.log(parsed);\n```\n\n```js\n{ next:\n   { page: '3',\n     per_page: '100',\n     rel: 'next',\n     url: 'https://api.github.com/user/9287/repos?page=3&per_page=100' },\n  prev:\n   { page: '1',\n     per_page: '100',\n     rel: 'prev',\n     pet: 'cat',\n     url: 'https://api.github.com/user/9287/repos?page=1&per_page=100' },\n  last:\n   { page: '5',\n     per_page: '100',\n     rel: 'last',\n     url: 'https://api.github.com/user/9287/repos?page=5&per_page=100' } }\n```\n\n## Installation\n\n    npm install parse-link-header\n\n## API\n\n***parseLinkHeader(linkHeader : String) : Object***\n\nParses the given link header containing [web links](http://tools.ietf.org/html/rfc5988) and returns an object keyed by\nthe `rel` property that contains information about each link.\n\n### Environmental Variables\n\nTo avoid redundantly parsing of extremely long (invalid) input, the package uses 2 env variabes:\n\n`PARSE_LINK_HEADER_MAXLEN` - Sets the number of characters the input should be limited to - longer inputs will not be handled. Defaults to `2000`.\n\n`PARSE_LINK_HEADER_THROW_ON_MAXLEN_EXCEEDED` - Defines behavior for when the `PARSE_LINK_HEADER_MAXLEN` parameter is exceeded. if defined, an error will be thrown; if it's `null`, the function fails silently by returning `null`. Defaults to `null`.\n\n### Formatting a link header\n\nThe purpose of this module is to parse the link header information. To format an object generated by this module back to the link header string, use the [format-link-header](https://github.com/jonathansamines/format-link-header) module.\n","maintainers":[{"name":"thlorenz","email":"thlorenz10@gmail.com"}],"time":{"modified":"2022-06-23T10:50:07.114Z","created":"2013-06-07T12:16:59.009Z","0.1.0":"2013-06-07T12:17:00.374Z","0.2.0":"2014-10-05T18:50:07.177Z","0.2.1":"2015-07-16T18:46:40.045Z","0.3.0":"2015-07-28T03:53:46.104Z","0.4.0":"2015-08-21T21:18:23.192Z","0.4.1":"2015-08-24T18:46:15.876Z","1.0.0":"2017-05-04T12:40:16.120Z","1.0.1":"2017-06-05T20:27:16.939Z","2.0.0":"2021-12-16T15:35:03.127Z"},"author":{"name":"Thorsten Lorenz","email":"thlorenz@gmx.de","url":"http://thlorenz.com"},"repository":{"type":"git","url":"git://github.com/thlorenz/parse-link-header.git"},"homepage":"https://github.com/thlorenz/parse-link-header","keywords":["parse","link","header","weblink","web","link","rel"],"bugs":{"url":"https://github.com/thlorenz/parse-link-header/issues"},"license":"MIT","readmeFilename":"README.md","users":{"zeke":true,"oncletom":true,"focusaurus":true,"developit":true,"andygreenegrass":true,"igorissen":true,"bluelovers":true,"muhammadghazali":true,"selenasong":true}}