0.0.5 • Published 2 years ago

@cubetiq/hws v0.0.5

Weekly downloads
-
License
ISC
Repository
-
Last release
2 years ago

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