inliner2

Utility to inline images, CSS and JavaScript for a web page - useful for mobile sites

Inliner2

Based on Inliner by Remy Sharp

$ npm install inliner2
var Inliner = require('inliner2');

new Inliner('http://remysharp.com', function (error, html) {
  // compressed and inlined HTML page
  console.log(html);
});