Skip to content

mustafar/jgrep

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

jgrep

Recursive grep.

Getting Started

Install the module with: npm install jgrep

Examples

Search for something starting from current directory.

$ jgrep waldo

Search for something only in current directory.

$ jgrep waldo --norecurse

Search for something including even hidden dirs (eg: .git, .svn).

$ jgrep waldo --hidden

Search for something excluding some dirs.

$ jgrep waldo -i node_modules,logs

Case insensitive search starting from Foo's home directory.

$ jgrep waldo -p /Users/foo --nocase

Search for all terms (contained in a file) in files with specified extensions.

$ jgrep /Users/foo/terms.txt -p /Users/foo -e js,.json

License

Copyright (c) 2014 Mustafa Rizvi
Licensed under the MIT license.

About

NPM module for recursive file search

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published