0.2.1 • Published 4 years ago

html-postcss v0.2.1

Weekly downloads
334
License
ISC
Repository
github
Last release
4 years ago

html-postcss

Build Status NPM version

html-postcss

Process CSS within the <style> tags and inline style= attributes in your HTML using PostCSS.

Usage

var HTMLPostCSS = require('html-postcss');

var processor = new HTMLPostCSS(plugins);
processor.process(htmlString, cheerioOpts, postcssOpts); //=> '<html>...</html>'