upload-express-middleware 1.0.0 → 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -4
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -5,18 +5,18 @@ A simple and flexible Express middleware for handling file uploads using Multer.
|
|
|
5
5
|
## Installation
|
|
6
6
|
|
|
7
7
|
```bash
|
|
8
|
-
npm install express-
|
|
8
|
+
npm install upload-express-middleware
|
|
9
9
|
# or
|
|
10
|
-
pnpm add express-
|
|
10
|
+
pnpm add upload-express-middleware
|
|
11
11
|
# or
|
|
12
|
-
yarn add express-
|
|
12
|
+
yarn add upload-express-middleware
|
|
13
13
|
```
|
|
14
14
|
|
|
15
15
|
## Usage
|
|
16
16
|
|
|
17
17
|
```typescript
|
|
18
18
|
import express from 'express';
|
|
19
|
-
import { uploadMiddleware } from 'express-
|
|
19
|
+
import { uploadMiddleware } from 'upload-express-middleware';
|
|
20
20
|
|
|
21
21
|
const app = express();
|
|
22
22
|
|