Node Roundup: Broom, cmbn, archie, Templato

Alex R. Young





templating node modules

Node Roundup: Broom, cmbn, archie, Templato

Posted by Alex R. Young on .

templating node modules

Node Roundup: Broom, cmbn, archie, Templato

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


Broom (License: MIT, npm: broom) by Bolgov Roman is an "application-level flow control library". It's designed to help split applications into small modules that can be executed in parallel or in serial. The intent is to help avoid using too many deeply nested callbacks, but to also make it easier to write tests.

The reason I think Broom is interesting is the author has combined flow control concepts with separation of concerns to address program design at a high level. Although there are a lot of flow control libraries, I think we need more effort in application architecture.


cmbn (License: MIT, npm: cmbn) by Gamaiel Zavala allows client-side assets to be served from a single URL. It comes with middleware that will work with Express. Rather than making requests to several CDNs, URLs can be generated that look like this:


The author suggests using this with CloudFlare CDN to improve performance.


archie (License: Apache 2.0, npm: archie) by Ian Macalinao is an "archetype system". Given a folder, archie will replace values within each file, then output a new folder with these changes. It can be used as a command-line tool like this:

archie gen -a simple -n myproject  

The author has based this module on Apache Maven, which uses archetypes for project templating.


Templato (License: MIT, npm: templato) by Vadim Demedes is a unified API for several templating modules that also works in browsers. It currently works with EJS, Eco, Jade, and Mustache.

The author has included Mocha tests, and these will run in a browser as well.