Skip to content

Latest commit

 

History

History
70 lines (59 loc) · 2.1 KB

README.md

File metadata and controls

70 lines (59 loc) · 2.1 KB

license version size

lucide rocket ixbroadcastr

simple broadcast channel

lucide code usage

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