Requires node > v7.0
git clone github.com/avdkishore/css-inliner.git
cd css-inliner
npm i
npm start file <path-to-htmlfile>
Inlined HTML is written to a file in the same directory where the HTML file recides. It is saved to a file named inlinedHtml.html
Please note that you should have a seperate css file in the same directory where the html file lives with the name styles.css