Droppe / Loader

Loader: a very simple loader to require() based on glob pattern matching.
5 stars 3 forks source link

Add sync method. #6

Open Iheartweb opened 10 years ago

Iheartweb commented 10 years ago

the method should look something like this:

var loader = require("node-glob-loader");
loader.loadSync(/*pattern/*);

see: http://stackoverflow.com/questions/16586640/node-js-async-to-sync

Jokero commented 9 years ago

+1