DailyJS

Node Roundup

Alex R. Young

Subscribe

@dailyjs

Facebook

Google+

frameworks server console node

Node Roundup

Posted by Alex R. Young on .
Featured

frameworks server console node

Node Roundup

Posted by Alex R. Young on .

Welcome to the Node Roundup. Send in your apps and libraries using our
contact form or @dailyjs.

Node 0.2.4

Node 0.2.4 was released
on Sunday. This version includes:

  • --eval in command line options
  • Net-related fixes
  • --max-stack-size flag

Download it from
nodejs.org, and for 0.2.4-specific documentation bookmark this:
http://nodejs.org/docs/v0.2.4/api.html

node-ncurses

Ncurses is something of a nemesis of mine. Working with Ncurses is
probably the least fun I've ever had programming, and I've written a
fair bit of Ada in my time. Last week I mentioned Node FFI, which made
me wonder if anyone would knock up a quick Ncurses binding, but then I
found an existing one called
node-ncurses.

Ncurses refers to "New Curses", it's an emulation layer for curses that
uses Terminfo and a bunch of other stuff so you can make text-based
interfaces. If you've ever used mutt, irssi, or lynx you'll know what I
mean.

The author has documented the entire API in the readme, it looks a lot
like C Ncurses from what I remember of it. The examples demonstrate the
API:

var nc = require('../ncurses'), consts = require('../ncconsts');

var win = new nc.ncWindow();
win.print("Max number of colors supported by this terminal == " + win.numColors + "\n");
win.print("Max number of color pairs supported by this terminal == " + win.maxColorPairs + "\n\n");
win.print("White on black\n");

You might think I'm joking about Ncurses being my nemesis, but every
time I run the node-ncurses examples I get kernel
panics
!

The author Brian has a blog where he writes about Node, so you may like
to check it out: mscdex.net

Wilson

Wilson by Chris Dickinson is a Django-style Node framework. There's an example
app
that uses
postgres and
documentation at readthedocs.org. If you look at Dickinson's other
projects
you can see he's created
quite a few that draw on ideas from Django.