The JavaScript blog.


node modules terminal config

Node Roundup: Node 0.9.0, ttycast, Simba

Posted on .

You can send in your Node projects for review through our contact form or @dailyjs.

Node 0.9.0

Node 0.9.0 is out, and this marks the first in the 0.9 series of unstable releases. In the recent commits there's been an interesting discussion about uncaughtException:

So if uncaughtException may be removed in the future, does that mean every node.js process will have at least 1 domain?

Node 0.8.3 is the latest addition to the stable line, and this release adds a lot of fixes:

  • net: fix net.Server.listen({fd:x}) error reporting (Ben Noordhuis)
  • net: fix bogus errno reporting (Ben Noordhuis)
  • build: fix add-on loading on freebsd (Ben Noordhuis)
  • build: fix spurious mksnapshot crashes for good (Ben Noordhuis)
  • domain: Fix memory leak on error (isaacs)
  • events: Fix memory leak from removeAllListeners (Nathan Rajlich)
  • zlib: Fix memory leak in Unzip class. (isaacs)
  • crypto: Fix memory leak in DecipherUpdate() (Ben Noordhuis)



ttycast (GitHub: dtinth / ttycast, License: MIT, npm: ttycast) by Thai Pangsakulyanont is a terminal-to-web broadcasting utility built with ttyrec, Connect, and Socket.IO.

Once ttyrec and ttycast are installed, activity within a terminal can be viewed through a browser. The author has written up some tips on how to do this over SSH.

I tried it out, but I had a problem running it due to a Connect version issue. I've let the author know through GitHub so hopefully it'll work out of the box fairly soon.


Simba (License: MIT, npm: simba) by Charles Bourasseau is a configuration management module:

    .add('host', 'localhost')

console.log(simba.get('db').get('host')); // 'localhost'  

There is full documentation available for Simba that explains some of the underlying concepts and each API method.


jquery ui plugins forms terminal

jQuery Roundup: jquery.terminal, jquery-inputs, Mobily*

Posted on .

Note: You can send your plugins and articles in for review through our [contact form](/contact.html) or [@dailyjs](http://twitter.com/dailyjs).


jquery.terminal (GitHub: jcubic / jquery.terminal, License:
LGPL 3) by Jakub Jankiewicz helps create client-side command-line applications. With one line of code it'll display an interpreter for
JSON-RPC services, and even supports authentication. Keyboard shortcuts
like ctrl+d are supported, and history can be saved to
local storage.

The source that runs the demo shows how simple it is to get something
going with jquery.terminal:

jQuery(function($, undefined) {
    $('#term_demo').terminal(function(command, term) {
        var result = window.eval(command);
        if (result != undefined) {
    }, {
        greetings: 'Javascript Interpreter',
        name: 'js_demo',
        height: 200,
        width: 450,
        prompt: 'js>'});


jquery-inputs (License: MIT) by Denny Shimkoski allows getting and setting of form inputs using hierarchical JSON data structures. Given a suitable form, the
following JSON will be interpreted and inserted into the correct fields:

$('form.user').inputs('set', {
  user: {
    name: 'Alex',
    description: 'JavaScript fan',
    password: 'All your base'

In this example, an input with a name of user_name found
within form.user will be set to 'Alex'. This
seems like an extremely useful addition to the growing suite of jQuery
templating tools.

MobilyMap, MobilySlider, MobilyBlocks

Marcin Dziewulski sent in three plugins.
MobilyMap (Demo, License: MIT) generates Google Maps-inspired draggable interfaces from
a regular bitmap image. It supports markers, captions, controls, and
it'll even save the last position in a cookie.

MobilySlider (Demo, License: MIT) is yet another jQuery slideshow plugin. It includes
controls for pagination and next/previous scrolling, and will pause on

MobilySelect (Demo, License: MIT) can replace one set of items for another. The author's
example usage is switching between groups of images.

MobilyBlocks (Demo, License: MIT) displays unordered lists as animated circles. It's a
very interesting effect (pictured above).

I thought this was a great collection of plugins, but I can't seem to
find uncompressed source code. Hopefully Marcin will post the original
source somewhere like GitHub (or his favourite code sharing site) so we
can contribute!