Why does Dapp need npm?

by Trey   Last Updated May 15, 2019 19:28 PM

I found a lot of tutorials say anyone who creates dapps needs to use Node Package Manager (NPM).
And the reason why it is necessary is because nodejs console is used for interacting with the contract on the blockchain.
But why do we need nodejs for smart contract? Smart contract is not written by JS but solidity.
Could anyone please simply explain why and for what purpose we need to use npm?

Tags : dapps


Related Questions


Updated July 18, 2017 04:28 AM

Updated July 18, 2017 23:28 PM

Updated August 02, 2017 21:28 PM

Updated November 03, 2017 10:28 AM