Skip to content

Commit 502075b

Browse files
committed
add doc for diffStream
1 parent 33c7c41 commit 502075b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

readme.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,8 @@ m.on('+', line => {
4848

4949
// run the diff
5050
m.diff('tests/file1.txt', 'tests/file2.txt');
51+
52+
// or run m.diffStream(stream1, stream2)
5153
```
5254

5355
**TextFileDiff** constructor also accept optional options object. Valid options are:

0 commit comments

Comments
 (0)