rhtml

1.1.0 • Public • Published

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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.1.0
    3
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.1.0
    3
  • 1.0.0
    0
  • 0.0.1
    0

Package Sidebar

Install

npm i rhtml

Weekly Downloads

3

Version

1.1.0

License

MIT

Last publish

Collaborators

  • yaru22