Skip to content

Commit 09f01af

Browse files
committed
update readme, ready to release 2.0.1
1 parent 9bf0b01 commit 09f01af

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

readme.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
> A Deno module for parsing multipart/form-data
44
5-
[![tag](https://img.shields.io/badge/Deno%20-std%400.59.0-333?&logo=Deno)](https://deno.land/std@0.59.0)
5+
[![tag](https://img.shields.io/badge/Deno%20-std%400.61.0-333?&logo=Deno)](https://deno.land/std@0.61.0)
66
[![nest badge](https://nest.land/badge.svg)](https://nest.land/package/multiparser)
77

88
***Note: Multiparser V2 is out!***
@@ -22,7 +22,7 @@ Multiparser version 2 aims to have better performance than V1. Since V1 is depen
2222
### Usage
2323
```ts
2424
// multiParser
25-
import { multiParserV2, FormV2, FormFileV2 } from 'https://deno.land/x/multiparser@v2.0.0/mod.ts'
25+
import { multiParserV2, FormV2, FormFileV2 } from 'https://deno.land/x/multiparser@v2.0.1/mod.ts'
2626

2727
const form = await multiParserV2(request)
2828
```
@@ -48,8 +48,8 @@ interface Form {
4848
Suppose your form has two fields, the first one has field name `singleStr` with text "this is string value" only, and the second field called `singleImg` with a img file named "singleImg.png".
4949

5050
```ts
51-
import { serve } from "https://deno.land/std@0.59.0/http/server.ts";
52-
import { multiParser } from 'https://deno.land/x/multiparser@v2.0.0/mod.ts'
51+
import { serve } from "https://deno.land/std@0.61.0/http/server.ts";
52+
import { multiParser } from 'https://deno.land/x/multiparser@v2.0.1/mod.ts'
5353

5454
const s = serve({ port: 8000 });
5555
for await (const req of s) {
@@ -153,8 +153,8 @@ The `content` can be used to write file content to local disk by using `Deno.wri
153153
### With Deno http module
154154
155155
```ts
156-
import { serve } from "https://deno.land/std@0.59.0/http/server.ts";
157-
import { multiParser } from 'https://deno.land/x/multiparser@v2.0.0/mod.ts'
156+
import { serve } from "https://deno.land/std@0.61.0/http/server.ts";
157+
import { multiParser } from 'https://deno.land/x/multiparser@v2.0.1/mod.ts'
158158

159159
const s = serve({ port: 8000 });
160160
for await (const req of s) {
@@ -181,7 +181,7 @@ for await (const req of s) {
181181
### With Oak framework
182182
```ts
183183
import { Application, Context } from "https://deno.land/x/oak@6.0.0/mod.ts";
184-
import { multiParser } from 'https://deno.land/x/multiparser@v2.0.0/mod.ts'
184+
import { multiParser } from 'https://deno.land/x/multiparser@v2.0.1/mod.ts'
185185

186186
const app = new Application();
187187

0 commit comments

Comments
 (0)