unjs / unenv

🕊️ Convert javaScript code to be runtime agnostic

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

add polyfill for `EventEmitter`

danielroe opened this issue · comments

Describe the feature

we still have a hard node dependency for readable/writeable stream via https://github.com/unjs/unenv/blob/main/src/runtime/node/stream/readable.ts, meaning (for example) that createCall and createFetch are only runnable in a node environment at the moment.

Additional information

  • Would you be willing to help implement this feature?