Socket
Socket
Sign inDemoInstall

ws-server-ftw

Package Overview
Dependencies
25
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.1.0 to 0.1.1

2

bin/ws-server.js

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc