{"name":"@eggjs/utils","version":"3.0.0","keywords":["egg","utils"],"author":{"url":"https://github.com/fengmk2","name":"fengmk2","email":"fengmk2@gmail.com"},"license":"MIT","_id":"@eggjs/utils@3.0.0","maintainers":[{"name":"gemwuu","email":"gemwuu@gmail.com"},{"name":"eggjs-admin","email":"fengmk2+eggjs@gmail.com"},{"name":"fengmk2","email":"fengmk2@gmail.com"},{"name":"atian25","email":"atian25@qq.com"},{"name":"dead_horse","email":"dead_horse@qq.com"},{"name":"popomore","email":"sakura9515@gmail.com"},{"name":"wanghx","email":"whxaxes@gmail.com"},{"name":"hyj1991","email":"yeekwanvong@gmail.com"},{"name":"killagu","email":"killa07071201@gmail.com"},{"name":"coolme200","email":"2001-wms@163.com"},{"name":"mansonchor.zzw","email":"mansonchor1987@gmail.com"},{"name":"hubcarl","email":"hubcarl@126.com"}],"homepage":"https://github.com/eggjs/egg-utils#readme","bugs":{"url":"https://github.com/eggjs/egg-utils/issues"},"dist":{"shasum":"e3d685c701871f073da8a9a4fd0fe0ad700fb682","tarball":"http://registry-npm.ywwl.com/@eggjs/utils/download/@eggjs/utils-3.0.0.tgz","fileCount":13,"integrity":"sha512-bmjxIhplMYpgOuJ9zC7IFEmXbd6qLrcBCsisHxIW4OUOnBwRcH40OIwP6ix0t8Mx8Qg4+1IY7BKAhLtRMDrbeA==","signatures":[{"sig":"MEQCIGAz2L3lifDZteTb41vwqZ/qvS2qKdhDZpQPnWKiBu2jAiAVUBhNhnl+7Z4tWZ8pWzA/k+l4XsSHYxzMkcasGHy9JA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":16871,"size":4742,"noattachment":false,"key":"/@eggjs/utils/-/@eggjs/utils-3.0.0.tgz"},"main":"lib/index.js","types":"lib/index.d.ts","engine":{"node":">=16.13.0"},"gitHead":"55405c50b6594aea4525e597b7e84c33babad295","scripts":{"ci":"egg-bin cov","tsc":"tsc","lint":"eslint .","test":"egg-bin test","clean":"tsc --build --clean","preci":"npm run lint && npm run tsc","pretest":"npm run lint && npm run tsc","prepublishOnly":"npm run clean && npm run tsc"},"_npmUser":{"name":"fengmk2","email":"fengmk2@gmail.com"},"repository":{"url":"git+https://github.com/eggjs/egg-utils.git","type":"git"},"_npmVersion":"9.6.7","description":"Utils for all egg projects","directories":{},"_nodeVersion":"18.16.0","dependencies":{},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"mm":"^3.3.0","npm":"^9.6.7","coffee":"^5.5.0","eslint":"^8.41.0","egg-bin":"^6.4.0","runscript":"^1.5.3","npminstall":"^7.9.0","typescript":"^5.0.4","@types/node":"^20.2.5","@types/mocha":"^10.0.1","@eggjs/tsconfig":"^1.3.3","eslint-config-egg":"^12.2.1"},"_npmOperationalInternal":{"tmp":"tmp/utils_3.0.0_1685339840320_0.7025983318687445","host":"s3://npm-registry-packages"},"readme":"# @eggjs/utils\n\n[![NPM version][npm-image]][npm-url]\n[![CI](https://github.com/eggjs/egg-utils/actions/workflows/nodejs.yml/badge.svg)](https://github.com/eggjs/egg-utils/actions/workflows/nodejs.yml)\n[![Test coverage][codecov-image]][codecov-url]\n[![npm download][download-image]][download-url]\n\n[npm-image]: https://img.shields.io/npm/v/@eggjs/utils.svg?style=flat-square\n[npm-url]: https://npmjs.org/package/@eggjs/utils\n[codecov-image]: https://codecov.io/github/eggjs/egg-utils/coverage.svg?branch=master\n[codecov-url]: https://codecov.io/github/eggjs/egg-utils?branch=master\n[download-image]: https://img.shields.io/npm/dm/@eggjs/utils.svg?style=flat-square\n[download-url]: https://npmjs.org/package/@eggjs/utils\n\nUtils for all egg projects.\n\n## Installation\n\n```bash\nnpm i @eggjs/utils\n```\n\n## API\n\n### `getPlugins(options)`\n\n- {String} baseDir - the current directory of application\n- {String} framework - the directory of framework\n- {String} env - egg environment\n\n### `getLoadUnits(options)`\n\n- {String} baseDir - the current directory of application\n- {String} framework - the directory of framework\n- {String} env - egg environment\n\n### `getConfig(options)`\n\n- {String} baseDir - the current directory of application\n- {String} framework - the directory of framework\n- {String} env - egg environment\n\n### `getFrameworkPath(options)`\n\n- {String} baseDir - the current directory of application\n- {String} framework - the directory of framework\n\n## License\n\n[MIT](LICENSE)\n\n<!-- GITCONTRIBUTOR_START -->\n\n## Contributors\n\n|[<img src=\"https://avatars.githubusercontent.com/u/360661?v=4\" width=\"100px;\"/><br/><sub><b>popomore</b></sub>](https://github.com/popomore)<br/>|[<img src=\"https://avatars.githubusercontent.com/u/156269?v=4\" width=\"100px;\"/><br/><sub><b>fengmk2</b></sub>](https://github.com/fengmk2)<br/>|[<img src=\"https://avatars.githubusercontent.com/u/32174276?v=4\" width=\"100px;\"/><br/><sub><b>semantic-release-bot</b></sub>](https://github.com/semantic-release-bot)<br/>|[<img src=\"https://avatars.githubusercontent.com/u/5345266?v=4\" width=\"100px;\"/><br/><sub><b>a526672351</b></sub>](https://github.com/a526672351)<br/>|[<img src=\"https://avatars.githubusercontent.com/u/2842176?v=4\" width=\"100px;\"/><br/><sub><b>XadillaX</b></sub>](https://github.com/XadillaX)<br/>|[<img src=\"https://avatars.githubusercontent.com/u/1974254?v=4\" width=\"100px;\"/><br/><sub><b>maqic</b></sub>](https://github.com/maqic)<br/>|\n| :---: | :---: | :---: | :---: | :---: | :---: |\n[<img src=\"https://avatars.githubusercontent.com/u/7284558?v=4\" width=\"100px;\"/><br/><sub><b>duncup</b></sub>](https://github.com/duncup)<br/>\n\nThis project follows the git-contributor [spec](https://github.com/xudafeng/git-contributor), auto updated at `Mon May 29 2023 14:07:36 GMT+0800`.\n\n<!-- GITCONTRIBUTOR_END -->\n","publish_time":1685339840491,"_cnpm_publish_time":1685339840491,"dist-tags":{"beta":"5.0.2-beta.27","latest":"5.1.0","rc":"5.0.2-rc.1"}}