egg-utils
v2.5.0
Published
Utils for all egg projects
Downloads
94,298
Readme
egg-utils
Utils for all egg projects.
Installation
$ npm i egg-utils
API
getPlugins(options)
- {String} baseDir - the current directory of application
- {String} framework - the directory of framework
- {String} env - egg environment
getLoadUnits(options)
- {String} baseDir - the current directory of application
- {String} framework - the directory of framework
- {String} env - egg environment
getConfig(options)
- {String} baseDir - the current directory of application
- {String} framework - the directory of framework
- {String} env - egg environment
getFrameworkPath(options)
- {String} baseDir - the current directory of application
- {String} framework - the directory of framework