Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

browser-repl

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

browser-repl

CLI utility to set up a remote browser repl

latest
Source
npmnpm
Version
0.4.0
Version published
Maintainers
1
Created
Source

browser-repl

CLI utility to set up a remote browser repl.

How to use

$ npm install -g browser-repl
$ export SAUCE_USERNAME="your username"
$ export SAUCE_ACCESS_KEY="your key"
$ repl ie6

Sign up for a free OSS account on SauceLabs.

How it works

browser-repl is built on top of the wd module, which is an implementation of the webdriver protocol.

Once a browser session is established, socket.io is used to establish a persistent connection that works on all browsers as fast as possible.

The socket.io server is hosted locally, and a reverse tunnel is set up with localtunnel which gives your computer a temporary URL of the format https://{uid}.localtunnel.me.

The lines you enter are subsequently evald. A global window.onerror hook is also set to capture errors. Summoning repl with the -n argument disables this.

Contributors

License

MIT - Copyright © 2014 Automattic, Inc.

FAQs

Package last updated on 25 May 2015

Did you know?

Socket

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