0.0.8 • Published 5 years ago

ws-launch v0.0.8

Weekly downloads
28
License
-
Repository
-
Last release
5 years ago

WS Launch

A Web Socket Mock data launcher

Installation

To start the project,

npm install

Run

npm start

or with npx;

npx ws-launch

Settings

SettingsDefaultArgumentDescription
Port4000--portOn which port should it run
Data{}--dataJson string with data
File''--fileJson file with data
Wait5000--waitWait in ms to fire the data
Openfalse--openKeep the connection open

If you want any other data, you can pass arguments like;

npm start -- --port=5000 --data=test.json

Inline data

You can use inline json data.

npx ws-launch --data="{}"

Your json needs to be stringified and escaped.

Converter

0.0.8

5 years ago

0.0.5

5 years ago

0.0.7

5 years ago

0.0.6

5 years ago

0.0.3

5 years ago

0.0.2

5 years ago

0.0.1

5 years ago