felixge/node-require-all — pull request #10 by maxnowack (2013-11-23 00:47:31+00:00)
Title: Added support for passing arguments

In one of my projects I have to pass some arguments to the required files. I have noticed that this feature has already been created in the Fork of p15martin. I have forked his fork merged it with the master branch, added some tests and updated the readme.
p15martin has added a new option called "dependencies" (array). With this option you are able to pass some objects to the files which will be required (using
```js
require(filepath).apply(this, options.dependencies).
```
)
It would be great to have this feature in the main repository of node-require-all and in the npm package.