This command-line application checks for potential drug interactions. It evaluates combinations of drugs entered by the user against a predefined list of interactions and outputs the most severe interaction detected.
- Node.js: The application runs on Node.js. If it's not installed on your system, download it from Node.js official website.
Ensure the interactions.js
file is in the same directory. The .json
file contains the drug interaction data required by the script.
- Open a command line interface (CLI).
- Navigate to the directory containing your files.
- Execute the script with Node.js:
node index.js