UNPKG

@layerfig/config

Version:

Layer and runtime-validate type-safe configs for JavaScript apps.

36 lines (33 loc) 1.35 kB
<p align="center"> <img src="../../docs/src/assets/logo-no-text.svg" width="300" alt="layerfig logo"> <h1 align="center"><code>@layerfig/config</code></h1> <br/> A simple way to implement configuration layering. It allows you to define multiple configuration sources, which are then merged into a single, type-safe configuration object. </p> <div align="center"> <a href="https://www.npmjs.com/package/@layerfig/config" target="\_parent"> <img alt="" src="https://img.shields.io/npm/dm/@layerfig/config.svg" /> </a> <a href="https://bundlejs.com/?q=%40layerfig%2Fconfig&config=%7B%22esbuild%22%3A%7B%22external%22%3A%5B%22json5%22%2C%22lodash-es%22%2C%22yaml%22%5D%7D%7D&badge=" target="\_parent" > <img alt="" src="https://deno.bundlejs.com/badge?config=%7B%22esbuild%22%3A%7B%22external%22%3A%5B%22json5%22%2C%22lodash-es%22%2C%22yaml%22%5D%7D%7D&q=%40layerfig%2Fconfig" /> </a> <a href="#badge"> <img alt="semantic-release" src="https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg" /> </a> <a href="https://github.com/raulfdm/layerfig/" target="\_parent"> <img alt="" src="https://img.shields.io/github/stars/raulfdm/layerfig.svg?style=social&label=Star" /> </a> </div> ### [Read the docs →](https://layerfig.dev)