datachannel-facade is a library that abstracts over platform-specific WebRTC DataChannel implementations.
It works both in the browser and natively (via [libdatachannel](https://libdatachannel.org)).
The following docs are from [MDN](https://developer.mozilla.org/en-US/docs/Web/API/WebRTC_API).