Socket
Socket
Sign inDemoInstall

crconsole

Package Overview
Dependencies
7
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    crconsole

Remote JavaScript console for Chrome/Webkit


Version published
Weekly downloads
7
decreased by-70.83%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

crconsole

crconsole is a remote Javascript console for Chrome/Webkit that runs in your terminal:

crconsole in Terminal

Install

With node.js and the npm package manager:

npm install crconsole -g

You can now use crconsole from the command line.

Connecting

Start chrome with remote protocol enabled:

google-chrome --remote-debugging-port=9222
$> crconsole
google.com> 1+1
2

Commands

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.

See also

Credits

Parts of the code taken from fxconsole. Uses chrome-remote-interface to communicate with Chrome.

Keywords

FAQs

Last updated on 08 Mar 2016

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc