Do npm install on your terminal, then run the code
*If you want to test it with the test code : - in the file "diffieHellman.js" add 'export' before the function (line 19) - delete or comment the variables (line 13,14,15,16) and the "console.log(...)" (line 33)
If you find that this code was helpfull, don't forget to leave a star !