DailyJS

Node Roundup: MongloDB, parseq.js, node-netpbm

Alex R. Young

Subscribe

@dailyjs

Facebook

Google+

databases node modules mongo documentation async markdown

Node Roundup: MongloDB, parseq.js, node-netpbm

Posted by Alex R. Young on .
Featured

databases node modules mongo documentation async markdown

Node Roundup: MongloDB, parseq.js, node-netpbm

Posted by Alex R. Young on .
You can send in your Node projects for review through our contact form or @dailyjs.

MongloDB

MongloDB Logo

MongloDB (GitHub: onglo / MongloDB, License: MIT) by Christian Sullivan is a database written with JavaScript that's compatible with MongoDB's queries. It has a plugin system for persistence, and a datastore for Titanium Mobile -- this effectively allows a form of MongoDB to be used within iOS and Android applications.

Monglo has a DataStore API that can be used to persist data locally or remotely. It's based around an object that implements each CRUD operation:

var monglo = require('./index').Monglo  
  , db = monglo('DemoDB')
  ;

function DemoStore(){  
  return {
     insert: function() {}
   , update: function() {}
   , open: function() {}
   , remove: function() {}
   , all: function() {}
  };
}

db.use('store', new DemoStore());  

parseq.js

parseq.js (GitHub: sutoiku / parseq, License: MIT, npm: parseq) from Sutoiku, Inc. is a flow control library for organising parallel and sequential operations. To manage asynchronous operations, this can be passed. If several calls are made, then this() can be passed, and the next function will receive an array that contains the results in the order they were called.

The same author also recently released jsdox, which is another JSDoc to Markdown generator.

netpbm

netpbm (GitHub: punkave / node-netpbm, License: MIT, npm: netpbm) by Tom Boutell scales and converts images using the netpbm toolkit, which is a venerable set of graphics programs found on many Unix systems.

This library is a wrapper around the netpbm binaries, and takes advantage of the fact that most netpbm programs only read one row of pixels at a time into memory to keep memory usage low.