JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 172576
  • Score
    100M100P100Q164862F
  • License MIT

Get content from link tags in an HTML document.

Package Exports

  • href-content

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 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