npm.io
2.0.3 • Published 2 years ago

href-content

Licence
MIT
Version
2.0.3
Deps
1
Size
3 kB
Vulns
0
Weekly
0
Stars
440

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

Keywords