This repository contains a demo application showing you how to interact with the Kraken WebSocket API in JavaScript. It also contains Jest tests that validate incoming messages from Kraken to ensure they match the schema defined in the asyncapi.yaml
file.
Clone the repository and then run the following command to install all dependencies:
npm install
You can run the demo application which will output any messages sent from Kraken using the following command:
node index.js
You can also run the Jest tests using the following command:
npm run test