# optimizify

> Browserify transform for optimize-js

Latest version **1.2.0** (published 2017-08-02) · Apache-2.0 license · 0 weekly downloads

## Install

```sh
npm install optimizify
pnpm add optimizify
yarn add optimizify
bun add optimizify
```

## 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.2.0 |
| Published | 2017-08-02 |
| First published | 2016-09-19 |
| Weekly downloads | 0 |
| License | Apache-2.0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 3 |
| Author | Robin Berjon |
| Maintainers | scienceai |
| Keywords | browserify, transform, browserify-transform, optimize-js |

## Links

- npm: https://www.npmjs.com/package/optimizify
- Repository: https://github.com/scienceai/optimizify
- Homepage: https://github.com/scienceai/optimizify#readme
- Issues: https://github.com/scienceai/optimizify/issues
- npm.io page: https://npm.io/package/optimizify

## Dependencies (2)

- [through2](https://npm.io/package/through2.md) 0.6.3
- [optimize-js](https://npm.io/package/optimize-js.md) ^1.0.3

## Alternatives

- [@opentelemetry/exporter-zipkin](https://npm.io/package/@opentelemetry/exporter-zipkin.md) — 14.8M weekly downloads
- [pusher-js](https://npm.io/package/pusher-js.md) — 2.0M weekly downloads
- [browserify](https://npm.io/package/browserify.md) — 1.7M weekly downloads
- [sqs-consumer](https://npm.io/package/sqs-consumer.md) — 1.7M weekly downloads
- [@sanity/eventsource](https://npm.io/package/@sanity/eventsource.md) — 930.8K weekly downloads

## Recent versions

- 1.2.0 (latest) — 2017-08-02
- 1.1.0 — 2017-02-20
- 1.0.1 — 2016-09-19
- 1.0.0 — 2016-09-19

## README

# optimizify

Browserify transform for [optimize-js](https://github.com/nolanlawson/optimize-js).

This is just a simple transformation that applies optimize-js. See the documentation there about
what it does and how you should check whether this would be useful to you or not.

This is used as any browserify transform, apply it with `browserify.transform` in your
`package.json`, with the `-t` or `-g` flag on the CLI, with `b.transform()`…

_*IMPORTANT NOTE*_: in order for this to actually work, it needs to run _after_ Uglify.

## Options

You can prevent files from being optimized by passing a filter RegExp or string

``` javascript
var bundler = browserify('index.js')

bundler.transform('optimizify', { filter: /\.json/ })
  .bundle()
  .pipe(process.stdout)
```

or

``` javascript
browserify -g [ optimizify --filter '.json' ] ./index.js
```

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