egg-utils

2.5.0 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i egg-utils

Weekly Downloads

22,485

Version

2.5.0

License

MIT

Unpacked Size

12.6 kB

Total Files

9

Last publish

Collaborators

  • akitasummer
  • gxkl
  • gemwuu
  • eggjs-admin
  • fengmk2
  • atian25
  • dead_horse
  • wanghx
  • hyj1991
  • killagu
  • coolme200
  • mansonchor.zzw
  • hubcarl
  • popomore