Check which npm package installs lodash dependency
<p>I am using webpack to build a production bundle for an application, and <code>lodash</code>, although I have not explicitly installed it and it does not exist in my package.json, is being inserted in my <code>node_modules</code> folder.</p>

<p>When I run <code>npm uninstall --save-dev lodash</code> (which effectively removes the <code>lodash</code> folder from <code>node_modules</code>), and rerun the build process, my bundle shrinks significantly. I would like to determine which package includes and requires the full lodash library.</p>

<p>How can I determine which of my many npm packages are requiring lodash?</p>

<hr>

<p>Note:</p>

<p>I am using the packages <code>lodash.debounce</code> and <code>lodash.throttle</code>. But <code>lodash.throttle</code> only has a dependency of <code>lodash.debounce</code> and <code>lodash.debounce</code> does not have any other lodash dependencies.</p>