# amd-parallel-optimizer

> Optimizes a lot of AMD bundles in parallel using r.js.

Latest version **0.0.1** (published 2018-05-22) · Apache-2.0 license · 0 weekly downloads

## Install

```sh
npm install amd-parallel-optimizer
pnpm add amd-parallel-optimizer
yarn add amd-parallel-optimizer
bun add amd-parallel-optimizer
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.1 |
| Published | 2018-05-22 |
| First published | 2018-05-22 |
| Weekly downloads | 0 |
| License | Apache-2.0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 5 |
| Unpacked size | 29.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Sebastian Gfeller |
| Maintainers | sebug |

## Links

- npm: https://www.npmjs.com/package/amd-parallel-optimizer
- Repository: https://github.com/sebug/require-parallel-optimizer
- Homepage: https://github.com/sebug/require-parallel-optimizer#readme
- Issues: https://github.com/sebug/require-parallel-optimizer/issues
- npm.io page: https://npm.io/package/amd-parallel-optimizer

## Dependencies (5)

- [esprima](https://npm.io/package/esprima.md) ^4.0.0
- [fs-extra](https://npm.io/package/fs-extra.md) ^6.0.1
- [escodegen](https://npm.io/package/escodegen.md) ^1.9.1
- [requirejs](https://npm.io/package/requirejs.md) ^2.3.5
- [uglify-js](https://npm.io/package/uglify-js.md) ^3.3.25

## Recent versions

- 0.0.1 (latest) — 2018-05-22

## README

# AMD r.js Parallel Optimizer
Given a ton of AMD modules, try to find a way to efficiently bundle them in parallel using multiple invocations of r.js.

## Sample call

	node index.js ../bundle-sources ../bundle-output require.build.js

The program takes the require.build.js file and creates multiple versions of it, each only containing a subset of modules. It then runs r.js on these files in parallel.

After the modules have been bundled we minify the rest of the files. You can test this step separately:

	node calculate_missing_files.js ../bundle-sources ../bundle-output/build | node uglify_explicit.js ../bundle-sources ../bundle-output/build

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