Skip to content

Commit 3c94b7e

Browse files
authoredJun 12, 2020
docs(parseOne): last pipe is a write
The last pipe in the parseOne example must be a createWriteStream otherwise I am not sure to understand the example. Thanks for the great library, works perfectly :)
1 parent 724e71d commit 3c94b7e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ Example:
145145
```js
146146
fs.createReadStream('path/to/archive.zip')
147147
.pipe(unzipper.ParseOne())
148-
.pipe(fs.createReadStream('firstFile.txt'));
148+
.pipe(fs.createWriteStream('firstFile.txt'));
149149
```
150150

151151
### Buffering the content of an entry into memory

0 commit comments

Comments
 (0)
Please sign in to comment.