my-express-module-loader
Advanced tools
Comparing version 1.0.0 to 1.0.1
{ | ||
"name": "my-express-module-loader", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "A dynamic module loader. Focused mainly on being able to scan a directory for modules and mount routes on an express app if wanted", | ||
@@ -5,0 +5,0 @@ "main": "core-lib-loader.js", |
@@ -28,3 +28,3 @@ # my-express-module-loader | ||
* `dirname` (String) - The path on where to search for modules. This option is passed directly to [requireindex](https://www.npmjs.com/package/requireindex). | ||
* `loadExpressRouter` (Boolean) - Set to `false` if you don't want this module to `app.use()` automatically | ||
* `loadExpressRouters` (Boolean) - Set to `false` if you don't want this module to `app.use()` automatically | ||
the exported `.router` property on every found module. Default `true`. | ||
@@ -31,0 +31,0 @@ |
5361