# fast-jpeg

> JPEG image decoder written entirely in JavaScript

Latest version **3.0.1** (published 2025-08-13) · MIT license · 0 weekly downloads

## Install

```sh
npm install fast-jpeg
pnpm add fast-jpeg
yarn add fast-jpeg
bun add fast-jpeg
```

## Health

**Score 30/100 (F)** — status: maintenance-mode.

Positive: esm support; no vulnerabilities.

Warnings: low downloads; no types.

Negative: stale; low maintenance score.

## Facts

| | |
|---|---|
| Version | 3.0.1 |
| Published | 2025-08-13 |
| First published | 2016-09-20 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | ESM |
| Dependencies | 2 |
| Unpacked size | 7.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 7 |
| Author | Michaël Zasso |
| Maintainers | lpatiny, stropitek, targos, cheminfo-bot |

## Links

- npm: https://www.npmjs.com/package/fast-jpeg
- Repository: https://github.com/image-js/fast-jpeg
- Homepage: https://image-js.github.io/fast-jpeg/
- Issues: https://github.com/image-js/fast-jpeg/issues
- npm.io page: https://npm.io/package/fast-jpeg

## Dependencies (2)

- [tiff](https://npm.io/package/tiff.md) ^7.1.0
- [iobuffer](https://npm.io/package/iobuffer.md) ^6.0.0

## Recent versions

- 3.0.1 (latest) — 2025-08-13
- 3.0.0 — 2025-06-16
- 2.0.1 — 2024-04-11
- 2.0.0 — 2023-06-06
- 1.0.1 — 2016-09-20
- 1.0.0 — 2016-09-20

## README

<h3 align="center">
  <a href="https://www.zakodium.com">
    <img src="https://www.zakodium.com/brand/zakodium-logo-white.svg" width="50" alt="Zakodium logo" />
  </a>
  <p>
    Maintained by <a href="https://www.zakodium.com">Zakodium</a>
  </p>
</h3>

# fast-jpeg

[![NPM version](https://img.shields.io/npm/v/fast-jpeg.svg)](https://www.npmjs.com/package/fast-jpeg)
[![npm download](https://img.shields.io/npm/dm/fast-jpeg.svg)](https://www.npmjs.com/package/fast-jpeg)
[![test coverage](https://img.shields.io/codecov/c/github/image-js/fast-jpeg.svg)](https://codecov.io/gh/image-js/fast-jpeg)
[![license](https://img.shields.io/npm/l/fast-jpeg.svg)](https://github.com/image-js/fast-jpeg/blob/main/LICENSE)

JPEG image decoder written entirely in JavaScript.

## Installation

```
npm install fast-jpeg
```

## API

Currently, this library is not able to decode the image data.  
It can only read EXIF information.

### [Complete API documentation](https://image-js.github.io/fast-jpeg/)

### `jpeg.decode(data)`

## License

[MIT](./LICENSE)

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