req-dry
Require directories sychronously! Based on discordjs/Commando style command loading. No code was borrowed or even viewed from it, just the "styling" (groups).
Benefits
- Super lightweight (and small!), no dependencies, uses some shiny new ES6 syntax.
- Sychronous
- Allows you to include specific directories and also filter files.
- Easy enough to read and understand.
Is this the right package for me?
- No, it was developed for my use only and the criteria only apply to my standards.
- No special error handling (may come soon?).
- If you decide to use it, fork it: methods and options may change drastically without warning from version to version.
How can I use this in my own project?
- Preferably, don't.
- Look at test.js for an example of using classes, filtering files and creating groups.