@increase21/simplenodejs 1.0.13 → 1.0.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -75,8 +75,9 @@ app.listen(4000,callback)
|
|
|
75
75
|
|
|
76
76
|
Controllers are auto-loaded from `controllersDir`.
|
|
77
77
|
#### Running Multiple Methods
|
|
78
|
-
./controllers/{servicefolder}/auth.ts
|
|
79
|
-
|
|
78
|
+
##### ./controllers/{servicefolder}/auth.ts
|
|
79
|
+
#### or
|
|
80
|
+
#### ./controllers/{servicefolder}/auth.js
|
|
80
81
|
|
|
81
82
|
```ts
|
|
82
83
|
export default AuthControllers extends SimpleNodeJsController {
|
package/package.json
CHANGED