Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

    uglifypublic

    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

    Keywords

    none

    install

    npm i uglify

    Downloadslast 7 days

    3,718

    version

    0.1.5

    license

    none

    repository

    github.com

    last publish

    collaborators

    • avatar