From 3e3c7a7e35c9de81fcf754af9c30e467e57ed6f3 Mon Sep 17 00:00:00 2001 From: Matthew Peveler Date: Tue, 2 Aug 2022 02:45:55 -0400 Subject: [PATCH] Add missing import to stream example in README Signed-off-by: Matthew Peveler --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index d29f07d..be862d6 100644 --- a/README.md +++ b/README.md @@ -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