# @chialab/esbuild-plugin-meta-url

> A file loader plugin for esbuild for constructed URLs using import metadata.

Latest version **0.19.2** (published 2026-05-28) · MIT license · 0 weekly downloads

## Install

```sh
npm install @chialab/esbuild-plugin-meta-url
pnpm add @chialab/esbuild-plugin-meta-url
yarn add @chialab/esbuild-plugin-meta-url
bun add @chialab/esbuild-plugin-meta-url
```

## Health

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

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

Warnings: low downloads; pre 1.0.

## Facts

| | |
|---|---|
| Version | 0.19.2 |
| Published | 2026-05-28 |
| First published | 2021-04-16 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Node | >=18 |
| Dependencies | 3 |
| Unpacked size | 14.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Provenance | attested (GitHub Actions) |
| GitHub stars | 183 |
| Author | Chialab |
| Maintainers | chialab-admin, chialab-developers |
| Keywords | esbuild, plugin, url, import, meta |

## Links

- npm: https://www.npmjs.com/package/@chialab/esbuild-plugin-meta-url
- Repository: https://github.com/chialab/rna
- Homepage: https://github.com/chialab/rna#readme
- Issues: https://github.com/chialab/rna/issues
- npm.io page: https://npm.io/package/@chialab/esbuild-plugin-meta-url

## Dependencies (3)

- [mime-types](https://npm.io/package/mime-types.md) ^2.1.35
- [@chialab/esbuild-rna](https://npm.io/package/@chialab/esbuild-rna.md) ^0.19.2
- [@chialab/estransform](https://npm.io/package/@chialab/estransform.md) ^0.20.0

## Alternatives

- [base64url](https://npm.io/package/base64url.md) — 6.1M weekly downloads
- [get-installed-path](https://npm.io/package/get-installed-path.md) — 502.9K weekly downloads
- [@uppy/url](https://npm.io/package/@uppy/url.md) — 185.8K weekly downloads
- [@d3fc/d3fc-shape](https://npm.io/package/@d3fc/d3fc-shape.md) — 16.2K weekly downloads
- [localizer](https://npm.io/package/localizer.md) — 226 weekly downloads

## Recent versions

- 0.19.2 (latest) — 2026-05-28
- 0.19.0-beta.2 (beta) — 2024-07-09
- 0.18.0-alpha.1 (alpha) — 2023-08-29
- 0.19.1 — 2026-02-25
- 0.19.0 — 2025-08-25
- 0.19.0-beta.1 — 2024-06-14
- 0.19.0-beta.0 — 2024-03-11
- 0.18.2 — 2024-03-08
- 0.18.1 — 2024-03-05
- 0.18.0 — 2024-01-11
- 0.17.7 — 2023-06-12
- 0.17.6 — 2023-05-19
- 0.18.0-alpha.0 — 2023-05-01
- 0.17.5 — 2023-03-24
- 0.17.4 — 2023-03-23
- … 102 more at https://npm.io/package/@chialab/esbuild-plugin-meta-url/versions

## README

# Esbuild Plugin Meta Url

A file loader plugin for [esbuild](https://esbuild.github.io/) for constructed URLs using import metadata.

[![NPM](https://img.shields.io/npm/v/@chialab/esbuild-plugin-meta-url.svg)](https://www.npmjs.com/package/@chialab/esbuild-plugin-meta-url)

## Documentation

Read the documentation at [chialab.github.io/rna](https://chialab.github.io/rna/guide/esbuild-plugin-meta-url).

## License

**Esbuild Plugin Meta Url** is released under the [MIT](https://github.com/chialab/rna/blob/main/packages/esbuild-plugin-meta-url/LICENSE) license.

---
_Source: https://npm.io/package/@chialab/esbuild-plugin-meta-url · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
