Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

parallel-uglifyjs

bitwombat91GPL-3.01.0.18

Recursively trawls a directory for .js files to uglify, running one node instance per available CPU.

multicore, parallel, fork, uglifyjs, uglify-js

readme

parallel-uglifyjs

Hunts for js files in a directory tree, and runs uglify-js on them in parallel (one per CPU).

Easily modifiable to run any job in parallel (see worker.js).

On an 8-core machine a large test takes 2.5 hours utilising a single CPU, and 20 minutes with parallel-uglifyjs.

Installation

$ npm install parallel-uglifyjs

Usage

$ ./parallel_uglifyjs small_test