doc/examples/example-index.dust.md
{name} will return a function that is same as `gulp.loadTasks`.
```
var loadTasks = require('{name}')(gulp);
loadTasks === gulp.loadTasks // return true
```
LoadTasks can load single file.
```
gulp.loadTasks('path/to/task.js');
```
LoadTasks can load specified module.
```
gulp.loadTasks('path/to/module');
```
LoadTasks can load by module's name. It will lookup from `NODE_PATH` and node_modules of current module.
```
gulp.loadTasks('gulp-concat');
```
If loading a module, it will load task from tasks directory of current module, and if gulp plugins (start with gulp-) exists in dependencies of package.json, then it will load each plugin as a module.