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

Readme

Keywords

Package Sidebar

Install

npm i href-content

Weekly Downloads

169,334

Version

2.0.3

License

MIT

Unpacked Size

2.89 kB

Total Files

4

Last publish

Collaborators

  • jonkemp