@nanoexpress/middleware-file-upload
TypeScript icon, indicating that this package has built-in type declarations

1.0.7 • Public • Published

file-upload

file-upload middleware for nanoexpress

You can use express.js file-upload middleware instead of this middleware

Installation

npm i @nanoexpress/middleware-file-upload
# or
yarn add @nanoexpress/middleware-file-upload

Example

See the examples directory

Usage

ESM Module

import fileUpload from '@nanoexpress/middleware-file-upload';

app.use(fileUpload());

CJS Module

const fileUpload = require('@nanoexpress/middleware-file-upload/cjs');

app.use(fileUpload());

Options

Options name Default Required Description
options.limit 256 Mb Yes Limit of total uploading files or data

License

MIT

Package Sidebar

Install

npm i @nanoexpress/middleware-file-upload

Weekly Downloads

0

Version

1.0.7

License

MIT

Unpacked Size

20 kB

Total Files

9

Last publish

Collaborators

  • dalisoft