package
Remote JavaScript console for Chrome/Webkit
npm install crconsole@0.0.5
GitHub-flavored package documentation.
Across all versions.
Download trend unavailable.
Runtime metadata.
Tagged topics.
Latest published Mar 8, 2016
latest
Registry package owners.
sidorares
sidorares@yandex.com
crconsole is a remote Javascript console for Chrome/Webkit that runs in your terminal:
crconsole
With node.js and the npm package manager:
npm install crconsole -g
You can now use crconsole from the command line.
Start chrome with remote protocol enabled:
google-chrome --remote-debugging-port=9222
$> crconsole google.com> 1+1 2
There are two extra REPL commands available beyond the standard node.js commands. .tabs lists the open tabs. .switch 2 switches to evaluating in a tab. The argument is the index of the tab to switch to.
.tabs
.switch 2
Parts of the code taken from fxconsole. Uses chrome-remote-interface to communicate with Chrome.
Estimated unpacked size across 10 packages.
2.7 MB
Includes dependencies.
5 direct · 3 outdated
~0.6.2
1.4.0
^0.6.0
2.1.1
~2.0.0
15.1.0
0.0.5
git://github.com/sidorares/chrome-remote-interface.git#switch-tab
0.34.0