simple-peer
simple-peer copied to clipboard
ES Module Support
Since every major browser now supports ES Modules, it would be nice to have this library offered as ES Module as well. This way, we could use it without the need of a bundler.
Hi, if this is enough for you, I made a fork of simple-peer which is a plain ES module:
mitschabaude/simple-peer-light
It's on npm as simple-peer-light.
ES modules are also required for use with https://vitejs.dev/
I can confirm that simple-peer-light by @mitschabaude works (I used a fork of it: https://github.com/bmz1/simple-peer by @bmz1) Thanks a lot for the work!