Please note, this is a STATIC archive of website developer.mozilla.org from 03 Nov 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

Revision 657795 of JavaScript shells

  • Revision slug: Web/JavaScript/Shells
  • Revision title: JavaScript shells
  • Revision id: 657795
  • Created:
  • Creator: fscholz
  • Is current revision? No
  • Comment

Revision Content

{{JsSidebar()}}

A JavaScript shell allows you to quickly test snippets of JavaScript code without having to reload a web page. They are extremely useful for developing and debugging code.

Standalone JavaScript shells

The following JavaScript shells are stand-alone environments, like perl or python.

  • Node.js - Node.js is a platform for easily building fast, scalable network applications.
  • JSDB - A standalone JavaScript shell, with compiled binaries for Windows, Mac, and Linux.
  • JavaLikeScript - A standalone, extensible JavaScript shell including both native and JavaScript libraries.
  • GLUEscript - A standalone JavaScript shell for writing cross-platform JavaScript applications.  It can use wxWidgets for GUI apps, and was formerly called wxJavaScript.
  • jspl - A standalone JavaScript shell enhanced by Perl. Can use perl modules directly from JavaScript: DBI for database integration, GTK2 for GUI apps, POSIX for system programming, etc. The best of CPAN now for JavaScript programmers.
  • ShellJS - Portable Unix shell commands for Node.js

List of JavaScript shells

The following JavaScript shells work with Mozilla.

  • Firefox has a built-in JavaScript console, called Scratchpad, starting in version 6.
  • JavaScript Shell (js) - A command line interpreter for JavaScript
  • xpcshell is an XPConnect - enabled shell, sometimes useful for Mozilla development.
  • jsconsole.com -- An open-source JavaScript console with the ability to easily link to particular expressions
  • JavaScript Shell (web page) - also available as part of the Extension Developer's Extension
  • JavaScript Shell Extended - A modified version of the above shell with various enhancements like JSON support, highest-version-supported JavaScript evaluation, etc.
  • Jash: JavaScript Shell - a DHTML - based shell that gives you command line access to a web page.
  • JSSh - A TCP/IP JavaScript Shell Server for Mozilla.
  • SD Connector - Like JSSh, but written entirely in JavaScript, so no compilation of binary components is required.
  • MozRepl - Connect to Firefox and other Mozilla apps, explore and modify them from the inside, while they're running.
  • Execute JS - Firefox-Extension which provides an enhanced JavaScript-Console, where you can comfortably enter and execute arbitrary JavaScript-Code and modify functions.
  • xqjs - Simple console for Firefox.
  • Firebug - Developer tools for Firefox, including console.

Revision Source

<div>
 {{JsSidebar()}}</div>
<p>A JavaScript shell allows you to quickly test snippets of <a href="/en-US/docs/Web/JavaScript">JavaScript</a> code without having to reload a web page. They are extremely useful for developing and debugging code.</p>
<h2 id="Standalone_JavaScript_shells">Standalone JavaScript shells</h2>
<p>The following JavaScript shells are stand-alone environments, like perl or python.</p>
<ul>
 <li><a href="https://nodejs.org/" title="https://nodejs.org/">Node.js</a> - Node.js is a platform for easily building fast, scalable network applications.</li>
 <li><a class="external" href="https://www.jsdb.org/">JSDB</a> - A standalone JavaScript shell, with compiled binaries for Windows, Mac, and Linux.</li>
 <li><a class="external" href="https://javalikescript.free.fr/" title="https://javalikescript.free.fr/">JavaLikeScript</a> - A standalone, extensible JavaScript shell including both native and JavaScript libraries.</li>
 <li><a class="external" href="https://gluescript.sourceforge.net/" title="https://gluescript.sourceforge.net/">GLUEscript</a> - A standalone JavaScript shell for writing cross-platform JavaScript applications.&nbsp; It can use wxWidgets for GUI apps, and was formerly called wxJavaScript.</li>
 <li><a class="external" href="https://jspl.msg.mx/" title="https://jspl.msg.mx/">jspl</a> - A standalone JavaScript shell enhanced by Perl. Can use perl modules directly from JavaScript: DBI for database integration, GTK2 for GUI apps, POSIX for system programming, etc. The best of CPAN now for JavaScript programmers.</li>
 <li><a class="external" href="https://shelljs.org" title="https://jspl.msg.mx/">ShellJS</a> - Portable Unix shell commands for Node.js</li>
</ul>
<h2 id="List_of_JavaScript_shells">List of JavaScript shells</h2>
<p>The following JavaScript shells work with Mozilla.</p>
<ul>
 <li>Firefox has a built-in JavaScript console, called <a href="/en-US/docs/Tools/Scratchpad">Scratchpad</a>, starting in version 6.</li>
 <li><a href="/en-US/docs/Mozilla/Projects/SpiderMonkey/Introduction_to_the_JavaScript_shell" title="En/SpiderMonkey/Introduction_to_the_JavaScript_shell">JavaScript Shell</a> (<code>js</code>) - A command line interpreter for JavaScript</li>
 <li><a href="/en-US/docs/Mozilla/XPConnect/xpcshell">xpcshell</a> is an <a href="/en-US/docs/Mozilla/Tech/XPCOM/Language_bindings/XPConnect">XPConnect</a> - enabled shell, sometimes useful for Mozilla development.</li>
 <li><a class="external" href="https://www.jsconsole.com/" title="https://www.jsconsole.com/">jsconsole.com</a> -- An open-source JavaScript console with the ability to easily link to particular expressions</li>
 <li><a class="external" href="https://www.squarefree.com/shell/">JavaScript Shell (web page)</a> - also available as part of the <a class="link-https" href="https://addons.mozilla.org/en-US/firefox/addon/7434">Extension Developer's Extension</a></li>
 <li><a class="external" href="https://code.eligrey.com/shell/help.html" title="https://code.eligrey.com/shell/help.html">JavaScript Shell Extended</a> - A modified version of the above shell with various enhancements like JSON support, highest-version-supported JavaScript evaluation, etc.</li>
 <li><a class="external" href="https://www.billyreisinger.com/jash/">Jash: JavaScript Shell</a> - a DHTML - based shell that gives you command line access to a web page.</li>
 <li><a class="external" href="https://www.croczilla.com/bits_and_pieces/jssh/" title="https://www.croczilla.com/bits_and_pieces/jssh/">JSSh</a> - A TCP/IP JavaScript Shell Server for Mozilla.</li>
 <li><a class="external" href="https://blogs.activestate.com/shanec/2008/05/jssh-replacemen.html">SD Connector</a> - Like JSSh, but written entirely in JavaScript, so no compilation of binary components is required.</li>
 <li><a class="external" href="https://hyperstruct.net/projects/mozrepl">MozRepl</a> - Connect to Firefox and other Mozilla apps, explore and modify them from the inside, while they're running.</li>
 <li><a class="external" href="https://www.mouseless.de/index.php?/content/view/18/31/">Execute JS</a> - Firefox-Extension which provides an enhanced JavaScript-Console, where you can comfortably enter and execute arbitrary JavaScript-Code and modify functions.</li>
 <li><a class="link-https" href="https://addons.mozilla.org/addon/159546">xqjs</a> - Simple console for Firefox.</li>
 <li><a class="link-https" href="https://addons.mozilla.org/en-US/firefox/addon/firebug/">Firebug</a> - Developer tools for Firefox, including console.</li>
</ul>
Revert to this revision