- Install Node.js and Git (optional) if you don't already have them on your machine
- Clone the repository using the command
git clone https://github.com/Toonshorty/boots-psc.git
or download a .zip bundle of the repository and extract it. - Install packages using the command
npm install
(or using your preferred package manager)
- Run the script with the following command
node boots-psc.mjs
- Enter a valid UK postcode
- Select your desired dosage
- Wait a few minutes whilst the script looks up stores and stock levels
- A list of stores with stock will be shown in the console, and all stock data exported to a
.json
file