Purpose: to approach how to integrate with SPI library ~~
// Step 1: Go to spi.js file and setup terminal information, like below
const posId = "Terminal Pos ID"; // eg: TESTWBC
const serialNumber = "Terminal Serial Number"; // eg: 123-123-123
const eftposAddress = "Terminal IP address"; // eg: 192.168.0.14
const version = "Current SPI version"; // eg: 2.9.2
const posName = "Pos Name"; // eg: mx51
// Step 2 Method 1: install the "Live server" VSCode plugin
// Step 3 Method 1: Right click and select `Open with Live Server` option
// Another way to run: directly open the index.html file in the browser