Skip to content

yidinghan/ding-load-dir

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ding-load-dir

npm npm David David

loading files' module from dir into an object

loadDir(options)

an simply way the load files in dir

Kind: global function

Param Type Default Description
options Object config
[options.patcher] Object {} the obj need to load files module to
[options.path] String './' it will join with dirName is relative path
[options.dirname] String process.env.PWD or __dirname root of dirPath
[options.args] Mixed [] args would pass to those files module

About

loading files‘ module from dir into an object

Resources

License

Stars

Watchers

Forks

Packages

No packages published