Node Roundup

2010-11-03 00:00:00 +0000 by Alex R. Young

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


Non-blocking (async) JavaScript PostgreSQL client for node.js written fully TDD and with lots of love.

node-postgres is a non-blocking PostgreSQL client library
released under the MIT license by Brian Carlson.

Carlson has been working hard to have high test coverage, and he's
running his tests on Ubuntu and Mac OS. He's currently working hard to
get the wiki documentation up to speed, as well as date coercion working
correctly. The library currently supports prepared statements, query
caching, and notification messages.

Usage currently looks like this:

var Client = require('node-postgres').Client;
var client = new Client({
  user:     'user',
  database: 'test',
  password: 'pass'  //plaintext or md5 supported


var printRow = function(row) {

var simpleQuery = client.query("select * from user where heart = 'big'");
simpleQuery.on('row', printRow);


node-zoneinfo by Andrew Johnston is a library for dealing with tz
files. These databaes
are used to determine time zone with UTC offsets and daylight saving.

The author is attempting to convert between different timezones using
this library, so if you're doing something similar it might be worth
checking out.

A similar library is timezone-js
by Matthew Eernisse. He gives examples with Rhino (I haven't tried it
with Node).


mailparser (BSD license) by Andris Reinman is an asynchronous and non-blocking parser for node.js to
parse mime encoded e-mail messages. It can handle large attachments by
parsing them in chunks. A bit of mime email knowledge is required to use
the library, but the project has a nice little
README with enough examples to get started.

Full Text Search in 1k

Karussell has released jsii, a full
text search library. It's in-memory, runs as a HTTP server, and is even
compatible with Solr. He's written more in a blog post: jsii – full
text search in 1K LOC of