Missing exports from index, UnpackrStream, PackrStream
Duoquote opened this issue · comments
Hello,
I am trying to import UnpackrStream
as shown below,
import { UnpackrStream } from "msgpackr";
And I am introduced with this error:
Typescript notations do say UnpackrStream exist but is missing in msgpackr/index.js
, as well as other exports from stream.js
...
Also missing in source code:
Lines 1 to 5 in 0c0ade5
I am using version 1.8.1
.
@Duoquote The streaming modules require node functionality, so they are intentionally omitted from the browser/non-node entry point (msgpackr/index.js), and only available on the node platform (or node-like platforms including bun, deno) through the node entry point (msgpackr/node-index.js).