@deegital/js-trustup-io-websocket
TypeScript icon, indicating that this package has built-in type declarations

0.0.5 • Public • Published

js-trustup-io-websocket

Installation

yarn add @deegital/js-trustup-io-websocket

Usage

Import trustupWebsocket and call echo() to get laravel echo instance.

import { trustupWebsocket } from "@deegital/js-trustup-io-websocket";

trustupWebsocket.echo()
  .channel("testChannel")
  .listen('testEvent', (e) => console.log(e));

Readme

Keywords

none

Package Sidebar

Install

npm i @deegital/js-trustup-io-websocket

Weekly Downloads

10

Version

0.0.5

License

MIT

Unpacked Size

3.94 kB

Total Files

6

Last publish

Collaborators

  • axel_dev_trustup
  • fhusquinet
  • henrotaym