fulljsmin

0.1.0 • Public • Published

fulljsmin

Node package for fulljsmin.js - the Javascript & CSS minifier from Pretty-Diff

https://github.com/austincheney/Pretty-Diff/blob/master/lib/fulljsmin.js

Install

To install the module:

$ npm install fulljsmin

To install the shell command:

$ npm install -g fulljsmin

Synopsis

var minifier = require('fulljsmin')
  , minCss   = minifier.jsmin({
                  type: 'css'
                , source: "body: {\n  margin: 0px;\n  padding: 0px;\n}\n"
               })
;
console.log(minCss);

From the command line

If you installed the shell command:

$ fulljsmin.js <filename>

Todo

  • Async
  • Stream buffers

Readme

Keywords

none

Package Sidebar

Install

npm i fulljsmin

Weekly Downloads

2

Version

0.1.0

License

none

Last publish

Collaborators

  • psema4