minimum
v0.0.5
Published
Compress html/css/js into a single html file.
Downloads
9
Readme
minimum
Minify html/js/css into a single document.
Installation
npm install -g minimum
Usage
Options
var opts = {}
opts.path = 'path/to/file.html' // required
opts.save = 'path/to/min.html' // optional
Command line
minimum path [save]
Module
var min
, minimum = require('minimum')
, opts = { path: 'file.html' }
min = minimum(opts)
min.on('success', function(html, saved) {
console.log('File save to: '+saved)
})