Skip to content

Instantly share code, notes, and snippets.

@trafficinc
Created September 30, 2022 21:27
Show Gist options
  • Save trafficinc/da7e55415bcbf2714075bd0a26778976 to your computer and use it in GitHub Desktop.
Save trafficinc/da7e55415bcbf2714075bd0a26778976 to your computer and use it in GitHub Desktop.
Find Dependency in Node Modules Directory - NPM
find ./node_modules/ -name package.json | xargs grep <package name>
# Example: find where bootstrap is being used.
# find ./node_modules/ -name package.json | xargs grep bootstrap
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment