node package manager

href-content

href-content Build Status Coverage Status

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