qrep
v0.4.5
Published
grep meets querySelectorAll
Readme
qrep
grep meets querySelectorAll
Badges
Install
Using npm.
$ npm install -g qrepConfirm.
$ qrep usageUninstall
$ npm uninstall -g qrepUpdate
$ npm update -g qrepUsage
qrep selector filename
qrep selector urlOption
qrep selector filename -e encoding(default = utf8)
qrep selector url -e encoding(default = utf8)Example
Find selector in file.
$ qrep #logo ./tpl/index.html
<header><span id="logo"></span></header>Find selector using URL.
$ qrep span.octicon-logo-github https://github.com
<span class="mega-octicon octicon-logo-github"></span>Find selector with stdin.
$ curl -s -L http://google.com | qrep title
<title>Google</title>