1.3.33 • Published 3 months ago

servicho v1.3.33

Weekly downloads
-
License
MIT
Repository
-
Last release
3 months ago

Servicho

dev-server.js:
    This file sets up an HTTP server that serves static files from a local folder.
    It listens on port 8089 and handles GET requests.
    If the requested file exists, it is served with the option to inject client-side WebSocket code if it's an HTML file.
    If the file or directory doesn't exist, a 404 response is sent.

client-websocket.js:
    This file sets up a WebSocket client connection to ws://localhost:8090.
    If the WebSocket connection is closed, it attempts to reconnect until it succeeds or exceeds the maximum number of attempts.
    Once a reconnection is established, it reloads the webpage using location.reload().
1.3.31

3 months ago

1.3.32

3 months ago

1.3.10

3 months ago

1.3.30

3 months ago

1.3.13

3 months ago

1.3.14

3 months ago

1.3.33

3 months ago

1.3.11

3 months ago

1.3.12

3 months ago

1.3.17

3 months ago

1.3.18

3 months ago

1.3.15

3 months ago

1.3.16

3 months ago

1.3.19

3 months ago

1.3.20

3 months ago

1.3.21

3 months ago

1.3.9

3 months ago

1.3.8

3 months ago

1.3.24

3 months ago

1.3.25

3 months ago

1.3.22

3 months ago

1.3.23

3 months ago

1.3.28

3 months ago

1.3.29

3 months ago

1.3.26

3 months ago

1.3.7

5 months ago

1.3.6

5 months ago

1.3.5

10 months ago

1.3.4

10 months ago

1.3.2

10 months ago

1.3.1

10 months ago

1.3.0

10 months ago

1.0.7

10 months ago

1.0.6

10 months ago

1.0.4

10 months ago

1.0.3

10 months ago

1.0.1

10 months ago

1.0.0

10 months ago