ding-load-dir

1.1.1 • Public • Published

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

/ding-load-dir/

    Package Sidebar

    Install

    npm i ding-load-dir

    Weekly Downloads

    0

    Version

    1.1.1

    License

    MIT

    Last publish

    Collaborators

    • playding