0.3.0 • Published 11 years ago

http-link v0.3.0

Weekly downloads
27
License
-
Repository
-
Last release
11 years ago

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
0.3.0

11 years ago

0.2.1

13 years ago

0.2.0

13 years ago

0.1.0

13 years ago