Package Exports
- href-content
- href-content/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (href-content) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
href-content
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