node-ghost3a

3.2.2 • Public • Published

node-ghost3a

Lightweight, web server, websocket server, websocket client. Cluster support. Simple and easy to use.

https://github.com/yangfanyu/node-ghost3a

Install

PM2 management process is recommended:

npm install pm2 -g

Then install this framework in your project directory:

npm install node-ghost3a

Server and client example

git clone https://github.com/yangfanyu/node-ghost3a.git

cd node-ghost3a/example

pm2 start ecosystem.config.js --env development

Then browse http://localhost:8080/ in your modern browser.

You can use pm2 log to see the server logs.

Client for flutter or dart

Edit dependencies in pubspec.yaml

   dependencies:
     wssnet_ghost3a: ^3.1.29

API usage is the same as index.html in example.

API document

See the source code comments in src for the framework. My notes are very detailed.

Package Sidebar

Install

npm i node-ghost3a

Weekly Downloads

12

Version

3.2.2

License

GPL-3.0

Unpacked Size

168 kB

Total Files

14

Last publish

Collaborators

  • yangfanyu