Skip to content

Latest commit

 

History

15 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

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

Stars

4 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages