New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

minimum

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

minimum

Compress html/css/js into a single html file.

latest
Source
npmnpm
Version
0.0.5
Version published
Weekly downloads
5
-54.55%
Maintainers
1
Weekly downloads
 
Created
Source

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.output = 'path/to/min.html'  // optional
opts.debug = false // optional
opts.watch = false // optional

Command line

minimum [opts] path
-h, --help           output usage information
-d, --debug          show debug logs
-o, --output [path]  path to output minified html
-w, --watch          watch for changes

Module

var min
  , minimum = require('minimum')
  , opts = { path: 'file.html' }

min = minimum(opts)
min.on('save', function(original, saved) {
  console.log('File saved to: '+saved)
})

FAQs

Package last updated on 29 Jul 2013

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts