npm.io
0.2.1 • Published 6 years ago

html-postcss

Licence
ISC
Version
0.2.1
Deps
2
Size
2.0 MB
Vulns
5
Weekly
0

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

Keywords