Skip to content

Commit 784de60

Browse files
author
Francis Pasoquen
committed
Updated readme; remove package lock file
1 parent 9ef028f commit 784de60

File tree

2 files changed

+14
-345
lines changed

2 files changed

+14
-345
lines changed

README.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
# lambda-multipart-parser
2+
```
3+
npm install lambda-multipart-parser --save
4+
```
25

36
## Introduction
47
This module will parse the multipart-form containing files and fields from the lambda event object.
@@ -24,3 +27,14 @@ This module will parse the multipart-form containing files and fields from the l
2427
```
2528

2629
## Usage
30+
```
31+
const parser = require('lambda-multipart-parser');
32+
33+
const result = await parser.parse(event);
34+
console.log(result.files);
35+
```
36+
37+
## Test
38+
```
39+
npm run test
40+
```

package-lock.json

Lines changed: 0 additions & 345 deletions
This file was deleted.

0 commit comments

Comments
 (0)