"Require" minified HTML as a string
JavaScript
Switch branches/tags
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
test
.gitignore
.travis.yml
LICENSE
README.md
index.js
package.json

README.md

rhtml Analytics

Build Status Dependency Status

"Require" minified HTML as a string

Installation

npm install rhtml

Usage

var rhtml = require('rhtml');
var minHTML = rhtml('./somepage.html');
console.log(minHTML);

Uses the same resolution algorithm as require for maximum simplicity. Built on top of rfile and html-minifier.

License

MIT