3.17.4 • Published 2 years ago

uglify-js-export v3.17.4

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

uglify-js-export

npm version npm version npm year jsDelivr hits (npm)(year) CI

UglifyJS is a JavaScript parser, minifier, compressor and beautifier toolkit.

A transform to make UglifyJS work in CommonJS.

Installation

npm i uglify-js-export

Usage

import UglifyJS from 'uglify-js-export';

const code = "function add(first, second) { return first + second; }";
const result = UglifyJS.minify(code);

console.log(result.error); // runtime error, or `undefined` if no error
console.log(result.code);  // minified output: function add(n,d){return n+d}

License

Licensed under the MIT License.

3.17.4

2 years ago

3.17.2

2 years ago

3.17.1

2 years ago

3.17.3

2 years ago

3.17.0

2 years ago

3.16.3

2 years ago

3.16.2

2 years ago

3.16.0

2 years ago

3.15.5

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago