Skip to content

Hamzaalam/typescript-websocket-sdk

Repository files navigation

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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published