A Client-side Networking library to handle the websocket portion of drinking games built with node
npm install @rossmacd/gamesock-server
Clone the package using
git clone https://github.com/drinking-game-app/gamesock-client.git
Install Peer dependencies
npm install
Build the package - this will need to be done each time code is updated
npm run build
This is a two step process to create a link between your local version of the package and the project you want to use it in. In the folder for this dependency run:
npm link
In the folder of the project you would like to use it in
npm link @rossmacd/gamesock-server