ws-server-ftw
Advanced tools
Comparing version 0.1.0 to 0.1.1
@@ -9,3 +9,3 @@ const path = require('path') | ||
var parser = new ArgumentParser({ | ||
version: '0.1.0', | ||
version: '0.1.1', | ||
addHelp: true, | ||
@@ -12,0 +12,0 @@ description: 'ws-server cli' |
{ | ||
"name": "ws-server-ftw", | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"description": "Mock websocket endpoints with ease", | ||
@@ -5,0 +5,0 @@ "main": "src/index.js", |
@@ -1,2 +0,2 @@ | ||
# ws-server | ||
# ws-server-ftw | ||
@@ -14,4 +14,6 @@ [![Build Status](https://travis-ci.com/abidibo/ws-server.svg?branch=master)](https://travis-ci.com/abidibo/ws-server) | ||
$ npm install ws-server --save-dev | ||
[![NPM](https://nodei.co/npm/ws-server-ftw.png?downloads=true&downloadRank=true&stars=true)](https://nodei.co/npm/ws-server-ftw/) | ||
$ npm install ws-server-ftw --save-dev | ||
# Getting started | ||
@@ -36,7 +38,7 @@ | ||
$ ./node_modules/ws-server/src/index.js -i mydb.json | ||
$ node ./node_modules/ws-server-ftw/bin/ws-server.js -i mydb.json | ||
Available options: | ||
$ ./node_modules/ws-server/src/index.js -h | ||
$ node ./node_modules/ws-server-ftw/bin/ws-server.js -h | ||
@@ -43,0 +45,0 @@ usage: index.js [-h] [-v] [-p PORT] -i DB |
@@ -23,2 +23,3 @@ const WebSocket = require('ws') | ||
console.log(`\nListening on localhost:${port}`) | ||
console.log(`Press ctrl-c to exit`) | ||
@@ -25,0 +26,0 @@ // send data through socket |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
17875
338
191