# @cloudinary-util/url-loader

Latest version **6.3.2** (published 2026-09-14) · MIT license · 0 weekly downloads

## Install

```sh
npm install @cloudinary-util/url-loader
pnpm add @cloudinary-util/url-loader
yarn add @cloudinary-util/url-loader
bun add @cloudinary-util/url-loader
```

## Health

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

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

Warnings: low downloads.

## Facts

| | |
|---|---|
| Version | 6.3.2 |
| Published | 2026-09-14 |
| First published | 2023-02-02 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 3 |
| Unpacked size | 548.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Provenance | attested (GitHub Actions) |
| GitHub stars | 14 |
| Maintainers | colbyfayock, devrealcloudinary |

## Links

- npm: https://www.npmjs.com/package/@cloudinary-util/url-loader
- Repository: https://github.com/cloudinary-community/cloudinary-util
- Issues: https://github.com/cloudinary-community/cloudinary-util/issues
- npm.io page: https://npm.io/package/@cloudinary-util/url-loader

## Dependencies (3)

- [@cloudinary/url-gen](https://npm.io/package/@cloudinary/url-gen.md) 1.15.0
- [@cloudinary-util/util](https://npm.io/package/@cloudinary-util/util.md) ^4.3.0
- [@cloudinary-util/types](https://npm.io/package/@cloudinary-util/types.md) ^1.7.0

## Recent versions

- 6.3.2 (latest) — 2026-09-14
- 6.0.0-beta.7 (beta) — 2024-10-31
- 6.3.1 — 2026-08-12
- 6.3.0 — 2026-08-10
- 6.2.0 — 2025-10-22
- 6.1.0 — 2025-09-15
- 6.0.0 — 2024-11-01
- 5.11.0 — 2024-11-01
- 6.0.0-beta.6 — 2024-10-31
- 6.0.0-beta.5 — 2024-10-31
- 6.0.0-beta.4 — 2024-10-25
- 6.0.0-beta.3 — 2024-10-24
- 6.0.0-beta.2 — 2024-10-22
- 5.10.6 — 2024-10-22
- 6.0.0-beta.1 — 2024-10-18
- … 107 more at https://npm.io/package/@cloudinary-util/url-loader/versions

## README

<picture>
  <source media="(prefers-color-scheme: dark)" srcset="https://user-images.githubusercontent.com/62209650/196528621-b68e9e10-7e55-4c7d-9177-904cadbb4296.png" align="center" height=50>
  <source media="(prefers-color-scheme: light)" srcset="https://user-images.githubusercontent.com/62209650/196528761-a815025a-271a-4d8e-ac7e-cea833728bf9.png" align="center" height=50>
  <img alt="Cloudinary" src="https://user-images.githubusercontent.com/62209650/196528761-a815025a-271a-4d8e-ac7e-cea833728bf9.png" align="center" height=30>
</picture>

#####

<a href="https://www.npmjs.com/package/@cloudinary-util/url-loader"><img alt="npm" src="https://img.shields.io/npm/v/@cloudinary-util/url-loader?style=flat-square"></a> <a href="https://github.com/colbyfayock/cloudinary-util/blob/main/LICENSE"><img alt="GitHub" src="https://img.shields.io/github/license/colbyfayock/cloudinary-util?label=License&style=flat-square"></a>

# Cloudinary URL Loader

A function to construct a Cloudinary URL based on a set of options.

The loader works by loading a list of "plugins" which provide option-based configuration for features like optimization, cropping, and background removal.

<a href="#-getting-started">Getting Started</a>

**This is a community library supported by the Cloudinary Developer Experience team.**

## 🚀 Getting Started

_The minimum node version officially supported is version 18._

- Install Cloudinary URL Loader:

```
npm install @cloudinary-util/url-loader
```

- Import the dependency:

```
import { constructCloudinaryUrl } from '@cloudinary-util/url-loader';
```

- Create a Cloudinary URL:

```
const url = constructCloudinaryUrl({
  options: {
    src: 'my-public-id',
    width: 800,
    height: 600
  },
  config: {
    cloud: {
      cloudName: 'my-cloud'
    }
  }
});
```

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