Skip to content

Commit cdd4f7d

Browse files
committed
doc: fix lowlevel tar.Parser typo
Fix: #425
1 parent eafc4b8 commit cdd4f7d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -525,7 +525,7 @@ If the archive is gzipped, then tar will detect this and unzip it.
525525
If the `file` option is _not_ provided, then returns an event emitter that
526526
emits `entry` events with `tar.ReadEntry` objects. However, they don't
527527
emit `'data'` or `'end'` events. (If you want to get actual readable
528-
entries, use the `tar.Parse` class instead.)
528+
entries, use the `tar.Parser` class instead.)
529529

530530
If a `file` option _is_ provided, then the return value will be a promise
531531
that resolves when the file has been fully traversed in async mode, or
@@ -842,7 +842,7 @@ option will cause undefined behavior in sync unpack streams.
842842
[MiniPass](http://npm.im/minipass)-based streams are designed for this
843843
use case.
844844

845-
### class tar.Parse
845+
### class tar.Parser
846846

847847
A writable stream that parses a tar archive stream. All the standard
848848
writable stream stuff is supported.

0 commit comments

Comments
 (0)