# @mlz/mozjpeg

> mozjpeg wrapper that makes it seamlessly available as a local dependency

Latest version **6.0.2** (published 2019-11-07) · MIT license · 0 weekly downloads

## Install

```sh
npm install @mlz/mozjpeg
pnpm add @mlz/mozjpeg
yarn add @mlz/mozjpeg
bun add @mlz/mozjpeg
```

Provides the command `mozjpeg`.

## 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 | 6.0.2 |
| Published | 2019-11-07 |
| First published | 2019-11-07 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=6 |
| Dependencies | 3 |
| Unpacked size | 4.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | yes |
| GitHub stars | 121 |
| Maintainers | fukai, luoqian2019, popeye-wz, webyom |
| Keywords | imagemin, jpeg, jpg, img, image, compress, minify, mozjpeg, optimize |

## Links

- npm: https://www.npmjs.com/package/@mlz/mozjpeg
- Repository: https://github.com/imagemin/mozjpeg-bin
- Homepage: https://github.com/imagemin/mozjpeg-bin#readme
- Issues: https://github.com/imagemin/mozjpeg-bin/issues
- npm.io page: https://npm.io/package/@mlz/mozjpeg

## Dependencies (3)

- [logalot](https://npm.io/package/logalot.md) ^2.1.0
- [bin-build](https://npm.io/package/bin-build.md) ^3.0.0
- [bin-wrapper](https://npm.io/package/bin-wrapper.md) ^4.0.0

## Alternatives

- [exif-parser](https://npm.io/package/exif-parser.md) — 3.8M weekly downloads
- [vite-plugin-compression](https://npm.io/package/vite-plugin-compression.md) — 569.5K weekly downloads
- [pica](https://npm.io/package/pica.md) — 442.4K weekly downloads
- [@reportportal/client-javascript](https://npm.io/package/@reportportal/client-javascript.md) — 408.8K weekly downloads
- [@tldraw/state](https://npm.io/package/@tldraw/state.md) — 316.0K weekly downloads

## Recent versions

- 6.0.2 (latest) — 2019-11-07
- 6.0.1 — 2019-11-07

## README

# mozjpeg-bin [![Build Status](https://travis-ci.org/imagemin/mozjpeg-bin.svg?branch=master)](http://travis-ci.org/imagemin/mozjpeg-bin)

> [mozjpeg](https://github.com/mozilla/mozjpeg) is a production-quality JPEG encoder that improves compression while maintaining compatibility with the vast majority of deployed decoders

You probably want [`imagemin-mozjpeg`](https://github.com/imagemin/imagemin-mozjpeg) instead.


## Install

```
$ npm install mozjpeg
```


## Usage

```js
const {execFile} = require('child_process');
const mozjpeg = require('mozjpeg');

execFile(mozjpeg, ['-outfile', 'output.jpg', 'input.jpg'], err => {
	console.log('Image minified!');
});
```


## CLI

```
$ npm install --global mozjpeg
```

```
$ mozjpeg --help
```


## License

MIT © [Imagemin](https://github.com/imagemin)

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