With a growing number of reusable modules and libraries, it is important to have a package management mechanism for every development environment. Truffle supports both npm and EthPM. This recipe focuses mainly on installing, using, and publishing packages to various registries that are available with Truffle.
Package management in Truffle
Getting ready
You need to have Truffle installed on your machine to download and run packages. Also, ensure that you have a stable version of npm available.
How to do it...
Truffle comes with two package managers: EthPM and npm. EthPM...