Node Roundup

2010-12-15 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.


Onvalid (License) by Mark Doffman is a validation library for Node (but should work
elsewhere). The Onvalid
is quite
detailed and contains a lot of examples. The suggested usage looks like

var __ = Onvalid = require('./onvalid');

var schema = {
  name: __.exists

var user = {
  'name': 'Bob'

if (Onvalid.validate(user, schema)) {

Error messages are supplied to a callback as the third parameter of the
validate method.

I like the idea of using decoupled validation libraries, a library like
this would work well with our Mongoose-based Nodepad tutorial project.


node-rlog (Apache License 2.0) by J. Brisbin is a distributed logging solution for Riak and Node in the
form of a library and command-line utility. The Node usage is very

var rlog = require('node-rlog'),
    log = rlog.getLogger('bucketname');
log.debug('This is a debug line: ', myobj, myobj2);

Logs can then be viewed with the noderlog utility:

noderlog -b bucketname

Install it with npm from the GitHub repository:

git clone https://github.com/jbrisbin/node-rlog.git
npm install ./node-rlog


Wave-Node (Apache License 2.0) by scottbw is a Node implementation of the Google Wave Gadget
. It uses
WebSockets, which I thought was interesting because I'm fairly sure the
last time I used Wave it polled aggressively with XMLHttpRequests.

Apparently it can be integrated with the Apache Wookie W3C Widget

If you want to try out the server and examples, you'll need to check the
code out from GitHub and install redis.