Skip to content

eggjs/egg-utils

Repository files navigation

@eggjs/utils

NPM version CI Test coverage npm download

Utils for all egg projects.

Installation

npm i @eggjs/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

Contributors


popomore


fengmk2


semantic-release-bot


a526672351


XadillaX


maqic


duncup

This project follows the git-contributor spec, auto updated at Mon May 29 2023 14:07:36 GMT+0800.