Skip to content

Instantly share code, notes, and snippets.

View nahoskins's full-sized avatar
💭
I may be slow to respond.

Nick Hoskins nahoskins

💭
I may be slow to respond.
View GitHub Profile
var noflo = require('noflo');
var rootdir = './';
var loader = new noflo.ComponentLoader(rootdir);
loader.listComponents(function() {
console.log(loader.components);
Object.keys(loader.components).forEach(function(name) {
loader.load(name, function(component) {
console.log(name);