@cuillere/envelope

1.0.3Β β€’Β PublicΒ β€’Β Published

@cuillere/envelope πŸ₯„πŸ“¨

@cuillere/envelope is a rewrite of @tgirier/envelope in NodeJS, πŸ™ thanks to @tgirier for his original work.

Envelope is a basic chat server using TCP websockets, which broadcasts messages to all connected users.

@cuillere/envelope is an example project of using @cuillere/channels.

Usage

Run @cuillere/envelope using npx:

$ npx @cuillere/envelope
2020-10-20 12:08:44 info Listening on localhost:8080

Use HOST and PORT environment variables to configure the address of the server:

$ HOST=192.168.1.1 PORT=1234 npx @cuillere/envelope
2020-10-20 12:24:00 info Listening on 192.168.1.136:1234

Author

πŸ‘€ Nicolas Lepage

Show your support

Give a ⭐️ if this project helped you!

πŸ“ License

Copyright Β© 2020 CuillereJS.
This project is Apache-2.0 licensed.

/@cuillere/envelope/

    Package Sidebar

    Install

    npm i @cuillere/envelope

    Weekly Downloads

    0

    Version

    1.0.3

    License

    Apache-2.0

    Unpacked Size

    21.4 kB

    Total Files

    8

    Last publish

    Collaborators

    • nicolas.lepage
    • emrys-myrddin