This is a
playground to test code. It runs a full
Node.js environment and already has all of
npm’s 400,000 packages pre-installed, including
crconsole with all
npm packages installed. Try it out:
This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.
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:
gt; 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.