Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/flamrdevs/ixbroadcastr

simple broadcast channel
https://github.com/flamrdevs/ixbroadcastr

broadcast-channel npm

Last synced: 3 months ago
JSON representation

simple broadcast channel

Awesome Lists containing this project

README

        





license





version





size





lucide rocket


ixbroadcastr

simple broadcast channel




lucide code


usage

```ts
import ixbroadcastr from "ixbroadcastr";

const broadcastr = ixbroadcastr<{ hello: string }>("name");

const unlisten = broadcastr.listen((value) => {
console.log(value);
});

broadcastr.send({ hello: "ixbroadcastr" });

// { hello: "ixbroadcastr" }

unlisten();
```




lucide scale


license

MIT