|
2 | 2 |
|
3 | 3 | [![npm version][npm-version-src]][npm-version-href]
|
4 | 4 | [![npm downloads][npm-downloads-src]][npm-downloads-href]
|
5 |
| -[![Github Actions][github-actions-src]][github-actions-href] |
6 | 5 | [![Codecov][codecov-src]][codecov-href]
|
| 6 | +[![License][license-src]][license-href] |
7 | 7 |
|
8 |
| -> Smart Configuration Loader |
| 8 | +Smart Configuration Loader. |
9 | 9 |
|
10 | 10 | ## Features
|
11 | 11 |
|
12 | 12 | - JSON, CJS, Typescript, and ESM config loader with [unjs/jiti](https://github.com/unjs/jiti)
|
13 | 13 | - RC config support with [unjs/rc9](https://github.com/unjs/rc9)
|
14 | 14 | - Multiple sources merged with [unjs/defu](https://github.com/unjs/defu)
|
15 | 15 | - `.env` support with [dotenv](https://www.npmjs.com/package/dotenv)
|
16 |
| -- Support reading config from the nearest `package.json` file |
17 |
| -- Support extending nested configurations from multiple local or git sources |
| 16 | +- Reads config from the nearest `package.json` file |
| 17 | +- [Extends configurations](https://github.com/unjs/c12#extending-configuration) from multiple local or git sources |
| 18 | +- Overwrite with [environment-specific configuration](#environment-specific-configuration) |
18 | 19 |
|
19 | 20 | ## Usage
|
20 | 21 |
|
@@ -246,11 +247,11 @@ Made with 💛 Published under [MIT License](./LICENSE).
|
246 | 247 |
|
247 | 248 | <!-- Badges -->
|
248 | 249 |
|
249 |
| -[npm-version-src]: https://img.shields.io/npm/v/c12?style=flat-square |
| 250 | +[npm-version-src]: https://img.shields.io/npm/v/c12?style=flat&colorA=18181B&colorB=F0DB4F |
250 | 251 | [npm-version-href]: https://npmjs.com/package/c12
|
251 |
| -[npm-downloads-src]: https://img.shields.io/npm/dm/c12?style=flat-square |
| 252 | +[npm-downloads-src]: https://img.shields.io/npm/dm/c12?style=flat&colorA=18181B&colorB=F0DB4F |
252 | 253 | [npm-downloads-href]: https://npmjs.com/package/c12
|
253 |
| -[github-actions-src]: https://img.shields.io/github/actions/workflow/status/unjs/c12/ci.yml?branch=main&style=flat-square |
254 |
| -[github-actions-href]: https://github.com/unjs/c12/actions?query=workflow%3Aci |
255 |
| -[codecov-src]: https://img.shields.io/codecov/c/gh/unjs/c12/main?style=flat-square |
| 254 | +[codecov-src]: https://img.shields.io/codecov/c/gh/unjs/c12/main?style=flat&colorA=18181B&colorB=F0DB4F |
256 | 255 | [codecov-href]: https://codecov.io/gh/unjs/c12
|
| 256 | +[license-src]: https://img.shields.io/github/license/unjs/c12.svg?style=flat&colorA=18181B&colorB=F0DB4F |
| 257 | +[license-href]: https://github.com/unjs/c12/blob/main/LICENSE |
0 commit comments