href-content

2.0.3 • Public • Published

href-content

NPM

Get content from link tags in an HTML document.

Install

Install with npm

npm install --save href-content

Usage

var getHrefContent = require('href-content');

getHrefContent('path/to/css', 'file://path/to/html', function (err, css) {
    console.log(css);
});

Credit

The code for this module was originally taken from the Juice library.

License

MIT

/href-content/

    Package Sidebar

    Install

    npm i href-content

    Weekly Downloads

    240,201

    Version

    2.0.3

    License

    MIT

    Unpacked Size

    2.89 kB

    Total Files

    4

    Last publish

    Collaborators

    • jonkemp