include node_modules so release .zip is deployable

This commit is contained in:
2023-11-24 17:44:25 -05:00
parent 6c86cfe5d2
commit 8b11c41267
8963 changed files with 874175 additions and 1 deletions
+24
View File
@@ -0,0 +1,24 @@
# WebSocket-Polyfill
## Outline
WebSocket class for NodeJS.
## Installation
### NPM Module
```bash
npm install --save websocket-polyfill
```
### Usage
```typescript
import "websocket-polyfill";
function main(): void
{
let ws: WebSocket = new WebSocket("ws://127.0.0.1:38000/main");
ws.onmessage = (msg: MessageEvent) =>
{
console.log("Data from ws-server", msg.data);
};
}
main();
```