uglify
A simple tool to uglify javascript & css files
Last updated 10 years ago by tom21joy .
Repository · Bugs · Original npm · Tarball · package.json
$ npm install uglify 
SYNC missed versions from official npm registry.

Uglify:

Uglify is a simple tool to uglify javascript & css files

Installing:

 $ npm install -g uglify

Usage:

  $ uglify -h

  Usage: uglify [options]

  Options:

    -h, --help            output usage information
    -V, --version         output the version number
    -s, --source <items>  source files
    -o, --output [value]  output file
    -c, --css             whether uglify css files
    -r, --root [value]    static root directory name, used to replace css urls with absolute path

  Examples:

    $ uglify -s ~/application.js,~/home.js -o ~/home.min.js
    $ uglify -s ~/application.css,~/home.css -o ~/home.min.css -c
    $ uglify -s ~/application.css,~/home.css -o ~/home.min.css -r public -c

License:

MIT

Current Tags

  • 0.1.5                                ...           latest (10 years ago)

4 Versions

  • 0.1.5                                ...           10 years ago
  • 0.1.3                                ...           10 years ago
  • 0.1.1                                ...           10 years ago
  • 0.1.0                                ...           10 years ago
Maintainers (1)
Downloads
Total 1
Today 1
This Week 1
This Month 1
Last Day 0
Last Week 0
Last Month 0
Dev Dependencies (0)
None
Dependents (1)

© 2010 - cnpmjs.org x YWFE | Home | YWFE