Skip to content

Latest commit

 

History

History

href-content

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

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