包详细信息

egg-utils

eggjs114.4kMIT2.5.0

Utils for all egg projects

egg, utils

自述文件

egg-utils

NPM version build status Test coverage David deps npm download

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

License

MIT

更新日志

Changelog

2.5.0 (2023-04-26)

Features

  • getFrameworkPath support monorepo (#16) (47ffc89)