eum

express-uglify-middleware

UglifyJS middleware for Express.

Showing:

Popularity

Downloads/wk

5.1K

Maintenance

No Maintenance Data Available

Package

Dependencies

3

License

MIT

Type Definitions

Tree-Shakeable

No?

Readme

express-uglify-middleware

UglifyJS middleware for Express.

This package is derived from less-middleware.

Installation

sudo npm install express-uglify-middleware

Usage:

var uglifyMiddleware = require('express-uglify-middleware');

app.use(uglifyMiddleware({ 
      src:  __dirname + "/javascript"
    , dest:  pubDir + '/js'
    , prefix: "/js"
    , compressFilter: /\.js$/
    , compress: true
    , force: false
    , debug: false
}));

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100