Created
September 8, 2022 12:55
-
-
Save mattpocock/eaaa7963ec9f53f5e7178961cb66c8f9 to your computer and use it in GitHub Desktop.
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
// Name: Delete node modules | |
import "@johnlindquist/kit"; | |
await $`find ~/repos -name 'node_modules' -type d -prune -exec rm -rf '{}' +`; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment