1 clone the repo using git clone
2 cd into BuildingJSLibrary folder
3 run npm install to install all dependencies
4 open the cloned project folder with your favourite editor (Visual Studio Code recommanded)
If you are using Visual Studio Code you can run this project from the built-in node.js environment, just go to the debug mode by clicking on the spider tab on the left panel then on top click on play button and select nodejs to run the scripts
For the sha1 digest, a library called js-sha1 is being used, written by emn178. The library can be installed with Bower with the command
bower install js-sha1
Or with node.js, with the command
npm install js-sha1