http-link

0.3.0 • Public • Published

http-link

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

Synopsis

NodeJS

var httpLink = require('http-link');
var links = httpLink.parse('<http://example.com/acb>; rel=alternate; type=text/html');

RequireJS

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

HTML

<script src="http-link.js"></script>
<script>
httpLink.parse('<http://example.com/acb>; rel=alternate; type=text/html');
</script> 

Install

npm install http-link

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.3.0
    24
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.3.0
    24
  • 0.2.1
    0
  • 0.2.0
    0
  • 0.1.0
    0

Package Sidebar

Install

npm i http-link

Weekly Downloads

19

Version

0.3.0

License

none

Last publish

Collaborators

  • victorenator