Socket
Book a DemoInstallSign in
Socket

@cubetiq/hws

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cubetiq/hws

CUBETIQ HTTP WebSocket Server and Client using Socket.IO

latest
npmnpm
Version
0.0.5
Version published
Maintainers
1
Created
Source

CUBETIQ Socket.IO Server Node

  • CLI
  • Socket.IO Server

Usages

  • Run Server using npx

npx -y @cubetiq/hws server 3000

  • Install to globally
npm i -g @cubetiq/hws
hws start 3000
  • Start Client (On Event)
hws client -u ws://localhost:3000 -e hello
  • Start Client (Send Event)
hws client -u ws://localhost:3000 -e hello -b '{ "msg": "Hello World" }'
  • Start Client (Send Event with Waiting)
hws client -u ws://localhost:3000 -e hello -b '{ "msg": "Hello World" }' -x '{ "waitEvent": "hello_world" }'

Contributors

  • Sambo Chea sombochea@cubetiqs.com

Keywords

socket.io

FAQs

Package last updated on 20 Oct 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts