Skip to content

Latest commit

 

History

History
77 lines (55 loc) · 1.58 KB

File metadata and controls

77 lines (55 loc) · 1.58 KB

Options

-h, --help

Shows the help message.
Optional dependencies are required for this

--silent level (0-2)

Level of silency for the output.
Default: 0 0: none
1: hides the welcome message
2: hides logs from the debugger too

Example

node . --silent=1

--port number

Default: 9090 Port on which to run the websocket.

Example

node . --port=6969

--onConnectedPath filePath

Path to the file with javascript code that will be sent to the client on every connection.

Example

node . --onConnectedPath="~/test.js"

// ~/test.js
console.log("hai")

--client option

Default: Vendetta

Available options

option name color send
vendetta Vendetta cyan shows returned value
enmity Enmity blue shows returned value
none None gray raw
Example

node . --client="enmity"

--clientColor color

Color of the output prefix
Default: cyan (inherit from client)

Available colors

https://github.com/doowb/ansi-colors#available-styles

--clientName name

Name for the output prefix
Default: Vendetta (inherit from client)

Change defaults

You can change the default values of options by editing defaults.json.

Note it applies everywhere