rasengan-server-uploads
Installation
SKILL.md
@rasenganjs/server Upload Patterns
When to Activate
- Adding a multipart file/image upload endpoint (single or multiple files)
- Choosing between in-memory and on-disk storage for uploaded files
- Enforcing file size/count limits or filtering by mimetype
- Reading an uploaded file's metadata (path, size, original name) inside a route handler
Basic Setup
fileUpload() is Multer-style middleware, imported from @rasenganjs/server. diskStorage() lives at the @rasenganjs/server/upload/disk subpath (kept separate so node:fs stays out of non-Node/WinterCG bundles):