html-postcss

0.2.1 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i html-postcss

Weekly Downloads

153

Version

0.2.1

License

ISC

Unpacked Size

2.08 MB

Total Files

9

Last publish

Collaborators

  • devinus