Wondering what’s next for npm?Check out our public roadmap! »

    broker-client

    0.0.8 • Public • Published

    Broker Client

    The official broker client.

    Check out broker - your Real-time Zero-Code API Server - https://crates.io/crates/broker

    Use

    import BrokerClient from 'broker-client';
     
    const sse = new BrokerClient('http://url', {
      headers: {
        authorization: 'Bearer 123token',
      },
    });
     
    sse.addEventListener('MyEvent', (messageEvent) => {});

    Install

    npm i broker-client

    DownloadsWeekly Downloads

    0

    Version

    0.0.8

    License

    MIT

    Unpacked Size

    8.08 kB

    Total Files

    5

    Last publish

    Collaborators

    • avatar