http-link

Library for parsing HTTP Link header http://www.w3.org/wiki/LinkHeader

http-link

Library for parsing HTTP Link header http://www.w3.org/wiki/LinkHeader

var httpLink = require('http-link');
var links = httpLink.parse('<http://example.com/acb>; rel=alternate; type=text/html');
define(['http-link'], function(httpLink) {
var links = httpLink.parse('<http://example.com/acb>; rel=alternate; type=text/html');
});
<script src="http-link.js"></script>
<script>
httpLink.parse('<http://example.com/acb>; rel=alternate; type=text/html');
</script> 
npm install http-link