Why is a package installed

npm/yarn
npm explain <package>