# jake-uglify

> Uglify helper for jake

Latest version **1.0.1** (published 2011-09-26) · 0 weekly downloads

## Install

```sh
npm install jake-uglify
pnpm add jake-uglify
yarn add jake-uglify
bun add jake-uglify
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.1 |
| Published | 2011-09-26 |
| First published | 2011-09-26 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Node | * |
| Dependencies | 3 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 9 |
| Author | Stefan Thomas |
| Maintainers | bitcoinjs |
| Keywords | minify, uglify, build, jake |

## Links

- npm: https://www.npmjs.com/package/jake-uglify
- Repository: https://github.com/justmoon/node-jake-uglify
- npm.io page: https://npm.io/package/jake-uglify

## Dependencies (3)

- [step](https://npm.io/package/step.md) >=0.0.4
- [mkdirp](https://npm.io/package/mkdirp.md) >=0.0.7
- [uglify-js](https://npm.io/package/uglify-js.md) >=1.1.0

## Alternatives

- [raw-loader](https://npm.io/package/raw-loader.md) — 4.3M weekly downloads
- [plop](https://npm.io/package/plop.md) — 1.4M weekly downloads
- [webpack-deadcode-plugin](https://npm.io/package/webpack-deadcode-plugin.md) — 80.3K weekly downloads
- [@storybook/preact-vite](https://npm.io/package/@storybook/preact-vite.md) — 54.2K weekly downloads
- [vite-plugin-transform](https://npm.io/package/vite-plugin-transform.md) — 2.4K weekly downloads

## Recent versions

- 1.0.1 (latest) — 2011-09-26
- 1.0.0 — 2011-09-26

## README

This is a simple little helper to quickly create minify tasks for
[Jake](https://github.com/mde/jake) using
[UglifyJS](https://github.com/mishoo/UglifyJS).

# Usage

Here is a simple example Jakefile.js:

``` js
var minify = require('jake-uglify').minify;

task('default', ['bitcoinjs-min.js']);

desc('General-purpose build containing most features');
minify({'bitcoinjs-min.js': [
    'src/bitcoin.js',
    'src/wallet.js'
]});
```

# Options

You can provide a second object with additional settings:

``` js
minify({'bitcoinjs-min.js': [
    'src/bitcoin.js',
    'src/wallet.js'
]},{
  header: "/* BitcoinJS v1.0.0 */"
});
```

* `header`: Header that should be prepended to the minified result

---
_Source: https://npm.io/package/jake-uglify · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
