Created
September 30, 2022 21:27
-
-
Save trafficinc/da7e55415bcbf2714075bd0a26778976 to your computer and use it in GitHub Desktop.
Find Dependency in Node Modules Directory - NPM
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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