node package manager

inliner2

Inliner2

Based on Inliner by Remy Sharp

Installation

$ npm install inliner2

Usage

var Inliner = require('inliner2');

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