# upscaler

> Enhance Images with Javascript and AI. Increase resolution, retouch, denoise, and more. Open Source, Browser and Node Compatible, MIT License.

Latest version **1.0.0** (published 2026-04-27) · MIT license · 0 weekly downloads

## Install

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

## Health

**Score 65/100 (B)** — status: active.

Positive: has types; esm support; no vulnerabilities; high maintenance score; high quality score.

Warnings: low downloads.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2026-04-27 |
| First published | 2020-07-30 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Node | >=16.0 |
| Dependencies | 2 |
| Unpacked size | 439.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 899 |
| Author | Kevin Scott |
| Maintainers | thekevinscott |
| Keywords | image enhancement, super resolution, upscaling, tensorflow.js, neural network, ai, retouching, low light, deblur, denoise, dehaze, derain, esrgan, maxim |

## Links

- npm: https://www.npmjs.com/package/upscaler
- Repository: https://github.com/thekevinscott/UpscalerJS
- Homepage: https://github.com/thekevinscott/UpscalerJS#readme
- Issues: https://github.com/thekevinscott/UpscalerJS/issues
- npm.io page: https://npm.io/package/upscaler

## Dependencies (2)

- [wireit](https://npm.io/package/wireit.md) ^0.14.0
- [@upscalerjs/default-model](https://npm.io/package/@upscalerjs/default-model.md) 1.0.0

## Alternatives

- [@expo/fingerprint](https://npm.io/package/@expo/fingerprint.md) — 6.2M weekly downloads
- [@azure/monitor-opentelemetry-exporter](https://npm.io/package/@azure/monitor-opentelemetry-exporter.md) — 850.0K weekly downloads
- [@azure/monitor-opentelemetry](https://npm.io/package/@azure/monitor-opentelemetry.md) — 624.0K weekly downloads
- [@posthog/ai](https://npm.io/package/@posthog/ai.md) — 423.3K weekly downloads
- [fakefilter](https://npm.io/package/fakefilter.md) — 63.9K weekly downloads

## Recent versions

- 1.0.0 (latest) — 2026-04-27
- 0.10.0-canary.5 (canary) — 2022-02-23
- 1.0.0-beta.19 — 2023-11-18
- 1.0.0-beta.18 — 2023-10-09
- 1.0.0-beta.17 — 2023-07-30
- 1.0.0-beta.16 — 2023-03-02
- 1.0.0-beta.15 — 2023-03-02
- 1.0.0-beta.14 — 2023-02-03
- 1.0.0-beta.13 — 2022-12-28
- 1.0.0-beta.12 — 2022-12-28
- 1.0.0-beta.11 — 2022-12-28
- 1.0.0-beta.10 — 2022-12-28
- 1.0.0-beta.9 — 2022-12-07
- 1.0.0-beta.8 — 2022-11-17
- 1.0.0-beta.7 — 2022-10-03
- … 76 more at https://npm.io/package/upscaler/versions

## README

# UpscalerJS

<a href="https://www.npmjs.com/package/upscaler"><img alt="Latest UpscalerJS NPM Version" src="https://badge.fury.io/js/upscaler.svg" /></a>
<a href="https://github.com/thekevinscott/UpscalerJS/blob/master/LICENSE"><img alt="License for UpscalerJS" src="https://img.shields.io/npm/l/upscaler" /></a>
<a href="https://www.npmjs.com/package/upscaler"><img alt="Downloads per week on NPM for UpscalerJS" src="https://img.shields.io/npm/dw/upscaler" /></a>
<a href="https://github.com/thekevinscott/UpscalerJS/actions/workflows/tests.yml"><img src="https://github.com/thekevinscott/UpscalerJS/actions/workflows/tests.yml/badge.svg" alt="Status of tests for UpscalerJS repository" /></a>
<a href="https://codecov.io/gh/thekevinscott/upscalerjs"><img alt="Code Coverage for UpscalerJS" src="https://img.shields.io/codecov/c/github/thekevinscott/upscalerjs" /></a>
<a href="https://deepsource.io/gh/thekevinscott/UpscalerJS/?ref=repository-badge"><img alt="DeepSource issues for UpscalerJS" src="https://deepsource.io/gh/thekevinscott/UpscalerJS.svg/?label=active+issues&show_trend=true" /></a>

Enhance Images with Javascript and AI. Increase resolution, retouch, denoise, and more. Open Source, Browser & Node Compatible, MIT License.

- 🎁 **Pretrained Models:** Enhance images using UpscalerJS's diverse pretrained models, designed to suit various image styles and requirements including increasing image resolution, denoising, deblurring, and more.
- 🔌 **Seamless Platform Integration:** Integrate UpscalerJS across Browser, Node (CPU and GPU), and Workers environments.
- 📘 **Comprehensive Documentation:** Leverage UpscalerJS confidently with extensive documentation, thorough examples, and TypeScript support.
- 🚀 **UI-Focused Enhancement:** Performant UI support with built-in patch-based processing that supports performance without sacrificing quality.
- 📱 **Device Compatibility:** Consistent image enhancement across a variety of devices, including desktops, tablets, and phones.
- 🧩 **Custom Model Integration:** Extend UpscalerJS by integrating your own pretrained models for personalized image enhancements.

![Demo](docs/assets/assets/demo.png)

[A live demo is here](https://upscalerjs.com/demo).


## Quick Start

```javascript
import Upscaler from 'upscaler';
const upscaler = new Upscaler();
upscaler.upscale('/path/to/image').then(upscaledImage => {
  console.log(upscaledImage); // base64 representation of image src
});
```

## Documentation

[View the docs here.](https://upscalerjs.com)


## Guides

You can [view runnable code examples](https://upscalerjs.com/documentation/guides/). You can also find the [guides here on Github](https://github.com/thekevinscott/UpscalerJS/tree/main/examples).


## Support the Project

Add a ⭐️ [star on GitHub](https://github.com/thekevinscott/UpscalerJS) or ❤️ [tweet](https://twitter.com/intent/tweet?url=https%3A%2F%2Fgithub.com%2Fthekevinscott%2Fupscaler&via=thekevinscott&hashtags=javascript,image-enhancement,tensorflow.js,super-resolution) to support the project!

## License

[MIT License](https://oss.ninja/mit/developit/) © [Kevin Scott](https://thekevinscott.com)

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