Skip to content

Commit

Permalink
Merge pull request #74 from MasterOdin/patch-1
Browse files Browse the repository at this point in the history
Add missing import to stream example in README
  • Loading branch information
kriszyp authored Aug 3, 2022
2 parents feaa7d5 + 3e3c7a7 commit aa3252d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ stream.write(myData);
```
Or for a full example of sending and receiving data on a stream:
```js
import { PackrStream } from 'msgpackr';
import { PackrStream, UnpackrStream } from 'msgpackr';
let sendingStream = new PackrStream();
let receivingStream = new UnpackrStream();
// we are just piping to our own stream, but normally you would send and
Expand Down

0 comments on commit aa3252d

Please sign in to comment.