ixbroadcastr
TypeScript icon, indicating that this package has built-in type declarations

1.0.5 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i ixbroadcastr

Weekly Downloads

0

Version

1.0.5

License

MIT

Unpacked Size

5.43 kB

Total Files

7

Last publish

Collaborators

  • flamrdevs