Nybble Processing Mainframe
    Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

    http-linkpublic

    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
    

    Keywords

    none

    install

    npm i http-link

    Downloadsweekly downloads

    26

    version

    0.3.0

    license

    none

    last publish

    collaborators

    • avatar