Find style and link tags in HTML, consolidate and append them to the <head> tag.
npm install consolidate-styles> Find style and link tags in HTML, consolidate and append them to the
tag.``bash`
npm i -g consolidate-styles --save-dev
`bash`
bower install consolidate-styles
Pass a string of HTML with the link or style tags to be consolidated.
Example:
`js``
var styles = require("consolidate-styles");
var html = require('fs').readFileSync('index.html')
styles(html);
See example.
Jon Schlinkert
+ github/jonschlinkert
+ twitter/jonschlinkert
*
_This file was generated by verb-cli on May 25, 2014._