Grep ignorieren node_modules
grep -R --exclude-dir=node_modules 'some pattern' /path/to/search
Angry Alligator
grep -R --exclude-dir=node_modules 'some pattern' /path/to/search