npm install --save crypto-js
And also make sure nodejs is installed in your machine.
To run the main.js file.
open terminal or any commandline tool.
node main.js
This is how Block Chain looks like.
Output:
After adding Proof of Work It will take some time to add a block.
Output:
Mining Reward and transactions