# wschat

> A Websocket Chatroom

Latest version **1.0.0** (published 2014-12-10) · ISC license · 0 weekly downloads

## Install

```sh
npm install wschat
pnpm add wschat
yarn add wschat
bun add wschat
```

Provides the command `wschat`.

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2014-12-10 |
| First published | 2014-12-10 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 (+2 in 1 direct dependencies) |
| Install scripts | no |
| Maintainers | seanewest |

## Links

- npm: https://www.npmjs.com/package/wschat
- npm.io page: https://npm.io/package/wschat

## Dependencies (1)

- [ws](https://npm.io/package/ws.md) ^0.5.0

## Recent versions

- 1.0.0 (latest) — 2014-12-10

## README

## Basic Websockets Multi-User Chat

*Connect multiple clients in the browser and/or in the terminal to one chat server.*


## install
```
git clone https://github.com/sean-west/wschat.git
cd wschat
npm install
```

## server
*This will listen on port 3000 by default*
```
node server.js
```

## client
*This will connect to localhost on 3000 by default.*

#### node
*You can pass as an argument an ip address or hostname to connect to a remote chat server.*
```
node client_node.js [hostname]
```

#### browser
*Change the ```ip``` variable to a remote server ip address to connect to that chat server*
```
open client_browser.html
```

---
_Source: https://npm.io/package/wschat · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
