Aviary
Packages

Overview

The full nestjs-media package set — core, the NestJS module, the browser client, the S3 multipart side-car, ORM stores, the image engine, and the ecosystem glue points.

Everything ships under the @dudousxd/nestjs-media* scope, versioned together. The disks are @nestjs/storage's (docs); install only the media packages you use.

The map

PackageRole
-coreSPIs (MediaStore, ImageProcessor, MultipartUploadDriver), MediaLibrary, attachments, uploadMode, folder listing, capabilities, diagnostics, resumable-upload engine, tus handler — on @nestjs/storage disks
(umbrella)NestJS MediaModule + MediaService (serve, authorize) + upload controllers
-clientframework-agnostic browser client — uploadMedia (tus) + mediaUrl
-disk-s3s3Multipart(): native multipart + delimiter listing for S3Disk
-image-sharpsharp-backed ImageProcessor
-database-typeormTypeORM media store (non-destructive auto-schema); /nest: typeOrmMediaStore({ connectionName })
-database-mikro-ormMikroORM media store (safe auto-schema)
-database-drizzleDrizzle media stores (sqlite, /pg, migration-first); /nest: factories on @nestjs/drizzle
-database-prismaPrisma media store (consumer-managed schema)
-telescopeTelescope watcher consuming aviary:media:*
-codegenCodegen extension emitting a typed media client
-reactuseMediaUpload hook + MediaUploader component
-testingin-memory store/upload-session, storageOf(), conformance suites
-dashboardstandalone /media console (SPA + JSON API) — disks, live uploads, media library

How they layer

-react ─┐
        ├─▸ -client ──▸ (tus HTTP) ──▸ umbrella ─▸ -core
-codegen┘                                          │
     @nestjs/storage disks (+ -disk-s3 side-car) ──┤  (StorageDisk, MultipartUploadDriver)
                          -image-sharp ────────────┤  (ImageProcessor)
   -database-{typeorm,mikro-orm,drizzle,prisma} ───┤  (MediaStore)
                          -telescope ──────────────┘  (diagnostics consumer)

-core defines the contracts; everything else either implements one (the S3 side-car, stores, the image engine) or consumes the library (the umbrella module, the glue points). Start at -core for the SPIs, or jump to the package you're wiring.

On this page