const allControllers = require('nodejs-require-all')(__dirname + '/controllers', { recursive: false })
console.log(allControllers)
-
Notifications
You must be signed in to change notification settings - Fork 0
lang10217/nodejs-require-all
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
require指定目录下所有的.js或.jsx文件
Topics
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published