# egg-utils
**Repository Path**: mirrors_eggjs/egg-utils
## Basic Information
- **Project Name**: egg-utils
- **Description**: Utils for all egg projects.
- **Primary Language**: Unknown
- **License**: MIT
- **Default Branch**: 3.x
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 0
- **Created**: 2020-11-23
- **Last Updated**: 2026-12-01
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
# @eggjs/utils
[![NPM version][npm-image]][npm-url]
[](https://github.com/eggjs/egg-utils/actions/workflows/nodejs.yml)
[![Test coverage][codecov-image]][codecov-url]
[![npm download][download-image]][download-url]
[npm-image]: https://img.shields.io/npm/v/@eggjs/utils.svg?style=flat-square
[npm-url]: https://npmjs.org/package/@eggjs/utils
[codecov-image]: https://codecov.io/github/eggjs/egg-utils/coverage.svg?branch=master
[codecov-url]: https://codecov.io/github/eggjs/egg-utils?branch=master
[download-image]: https://img.shields.io/npm/dm/@eggjs/utils.svg?style=flat-square
[download-url]: https://npmjs.org/package/@eggjs/utils
Utils for all egg projects.
## Installation
```bash
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](LICENSE)
## Contributors
|[
popomore](https://github.com/popomore)
|[
fengmk2](https://github.com/fengmk2)
|[
semantic-release-bot](https://github.com/semantic-release-bot)
|[
a526672351](https://github.com/a526672351)
|[
XadillaX](https://github.com/XadillaX)
|[
maqic](https://github.com/maqic)
|
| :---: | :---: | :---: | :---: | :---: | :---: |
[
duncup](https://github.com/duncup)
This project follows the git-contributor [spec](https://github.com/xudafeng/git-contributor), auto updated at `Mon May 29 2023 14:07:36 GMT+0800`.