# @devframes/plugin-assets

> Devframe plugin for browsing, previewing, uploading, and managing static assets in a directory.

Latest version **1.3.1** (published 2026-11-01) · MIT license · 0 weekly downloads

## Install

```sh
npm install @devframes/plugin-assets
pnpm add @devframes/plugin-assets
yarn add @devframes/plugin-assets
bun add @devframes/plugin-assets
```

## Health

**Score 55/100 (C)** — status: active.

Positive: no vulnerabilities; recently updated; high maintenance score.

Warnings: low downloads; no types; no esm support.

## Facts

| | |
|---|---|
| Version | 1.3.1 |
| Published | 2026-11-01 |
| First published | 2026-07-31 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 657 |
| Author | Anthony Fu <anthonyfu117@hotmail.com> |
| Maintainers | antfu |
| Keywords | devframe, devframe-plugin, devtools, assets, static-files |

## Links

- npm: https://www.npmjs.com/package/@devframes/plugin-assets
- Repository: https://github.com/devframes/devframe
- Homepage: https://github.com/devframes/devframe#readme
- Issues: https://github.com/devframes/devframe/issues
- npm.io page: https://npm.io/package/@devframes/plugin-assets

## Recent versions

- 1.3.1 (latest) — 2026-11-01
- 1.3.0 — 2026-10-30
- 1.2.6 — 2026-10-19
- 1.2.5 — 2026-10-14
- 1.2.4 — 2026-10-13
- 1.2.3 — 2026-10-07
- 1.2.2 — 2026-10-06
- 1.2.1 — 2026-10-05
- 1.2.0 — 2026-10-02
- 1.1.0 — 2026-09-25
- 1.0.0 — 2026-09-16
- 0.10.1 — 2026-09-16
- 0.10.0 — 2026-09-15
- 0.9.20 — 2026-09-14
- 0.9.19 — 2026-09-14
- … 29 more at https://npm.io/package/@devframes/plugin-assets/versions

## README

# `@devframes/plugin-assets`

Browse, preview, upload, rename, and delete the files in a directory: a framework-neutral port of Nuxt DevTools' Assets tab, built as a **Vue** SPA on `@antfu/design`.

```sh
pnpx @devframes/plugin-assets
```

Manages `<cwd>/public` by default. The package exports `createAssetsDevframe()` for custom definitions; mount it into a Vite host with `devframeVite()` from `@devframes/vite/single`. Pass `{ dir }` to manage a different directory, `{ baseURL }` to match where the host framework serves it, or `{ write: false }` (`--read-only` on the standalone CLI) for a browse-only deployment.

Asset previews load files by their public URL, served by the host framework the devframe is mounted into (Vite/Nuxt/etc. already serve `public/` at `/`), so the devframe doesn't serve the bytes itself. The standalone CLI serves the directory for you.

The standalone server requires devframe's trust handshake by default because it can read, write, and delete real files. The `build` CLI subcommand is disabled by default; see the docs page for why.

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