This script uses Prettier to format every file within a specified root folder, with the option to exclude specific files and folders from being formatted.
When executed, the script provides feedback through the terminal, including information about which files are being formatted and any issues encountered during the process.
Prettier will format the following languages:

using a root folder name the script can't find:

To use the script, add the following to your package.json:
"type": "module",
"devDependencies": {
"prettier": "2.8.8"
}
Then, run the following command to install Prettier:
npm install
To run the script, use the command:
node .\format.js
Note: Make sure you're running the script from the correct directory where format.js is located.
Node.js is being used to run the command.
