node package manager
Easy collaboration. Discover, share, and reuse code in your team. Create a free org »


This is a simple little helper to quickly create minify tasks for Jake using UglifyJS.


Here is a simple example Jakefile.js:

var minify = require('jake-uglify').minify;
task('default', ['bitcoinjs-min.js']);
desc('General-purpose build containing most features');
minify({'bitcoinjs-min.js': [


You can provide a second object with additional settings:

minify({'bitcoinjs-min.js': [
  header: "/* BitcoinJS v1.0.0 */"
  • header: Header that should be prepended to the minified result