jsh


JavaScript Shell

JSH is a shell designed for both web and native environment.

Unlike many existing javascript projects such as ExtJS and YUI, JSH is designed to be a small set of portable libraries instead of a framework designed for web browsers.

These libraries can be easily reused without having to adopt a large framework:

  • String formatting
  • Map/Reduce/Filter
  • DOM manipulation
  • URI parsing/canonicalization
  • AES encryption/decryption
  • LZW compression/decompression
  • Base64 encoding/decoding
  • UTF8 encoding/decoding
  • UTF16 encoding/decoding

For more information, please refer to the Tutorial and Reference.

In fact, JSH is able to run in many environments:

  • simple interactive calculator
  • standard alone application
  • debugger (by injecting code to web pages)
  • boot loader for other libraries

JSH running in Windows console (cmd.exe)

http://jsh.googlecode.com/files/jsh_win32console.png' width='580' />

JSH running in Debian (spidermonkey)

http://jsh.googlecode.com/files/jsh_linux.png' />

JSH running in Windows HTA

http://jsh.googlecode.com/files/jsh_hta.png' />

JSH running in Internet Explorer (code injection to google image search page)

http://jsh.googlecode.com/files/jsh_win32ie.png' width='580' />

JSH running in Firefox

http://jsh.googlecode.com/files/jsh_firefox.png' />

JSH running in Chrome (webkit based browsers such as Safari are also supported)

http://jsh.googlecode.com/files/jsh_chrome.png' />

JSH running in Opera

http://jsh.googlecode.com/files/jsh_opera.png' />

JSH running in Windows SDK Help

http://jsh.googlecode.com/files/jsh_win32msdn.png' width='580' />

JSH running in Windows Live Messenger

You can use jsh and turn the Windows Live Messenger ads. into a desktop calculator...
http://jsh.googlecode.com/files/jsh_win32msn.png' />

JSH running in Windows SDK Help, chain load Firebug Lite

http://jsh.googlecode.com/files/jsh_win32firebug.png' width='580' />

Project Information

Labels:
JavaScript Shell Library ECMAScript Browser Web Interactive CrossPlatform Compression Parsing