@socketio-bridge/cli

0.0.3 • Public • Published

SocketIO bridge over node core modules cli.

Install

  yarn add -D @socketio-bridge/cli
  yarn socketio-bridge serve
  # Or
  yarn siob serve

Commands

# Available commands
yarn siob --help

# Start server on port 7979 and kill any other process listening to it.
yarn siob serve &


# Start server on port 5959 and kill any other process listening to it.
yarn siob serve -p 5959 &
# OR
yarn siob serve --port 5959 &

# Kill any process listening to port 7979
yarn siob kill --port 7979

# If no port is provided a server will be started temporarily.
yarn siob run 'ls -al' --port 7979

# Make sure everything is configured correctly
yarn siob test

# Create a web client
yarn siob create-client -n my-dashboard

Readme

Keywords

none

Package Sidebar

Install

npm i @socketio-bridge/cli

Weekly Downloads

1

Version

0.0.3

License

MIT

Unpacked Size

9.7 kB

Total Files

13

Last publish

Collaborators

  • rakannimer