Grep exclude dir

Terminal
grep -r --exclude-dir=node_modules "pattern" .