Skip to content

Latest commit

 

History

History
49 lines (31 loc) · 1.07 KB

README.md

File metadata and controls

49 lines (31 loc) · 1.07 KB

Typescript WebSocket client Sdk for both nodejs and browser

packages ---> contains sdk for nodejs and browser

apps ---> contains examples to utilize the sdk

Install the dependencies at the root of project

npm install

To run packages, comiple it using below command at the root, This will generate the both packages build files!

npm run build -ws

To to run the browser-example app.

cd apps/browser-example
npm run start

example screenshot!

Screenshot from 2022-11-21 13-07-14

To to run the nodejs-example app.

cd apps/nodejs-example
npm run start

example screenshot!

Screenshot from 2022-11-21 13-09-21

To Test the packages in one shot!

npm run test

Note: no bundler has been used to bundle the packages native tsc used to compile the packages! except in the browser-example parcel has been used build it.