node package manager
Orgs are free. Discover, share, and reuse code in your team. Create a free org ยป

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);
});