@golevelup/ts-config

Load configuration from .env files or json files automatically with hierarchical overriding - Easily control which configuration files get loaded based on your Node Environment - Built in support for Validation of different types - Intellisense and Type Safety - Simple testing utilties for when you want to mock your configuration

Usage no npm install needed!

<script type="module">
  import golevelupTsConfig from 'https://cdn.skypack.dev/@golevelup/ts-config';
</script>

README

@golevelup/ts-config

Features

  • Load configuration from .env files or json files automatically with hierarchical overriding
  • Easily control which configuration files get loaded based on your Node Environment
  • Built in support for Validation of different types
  • Intellisense and Type Safety
  • Simple testing utilties for when you want to mock your configuration

Usage

Install

npm install ---save @golevelup/ts-config

or

yarn add @golevelup/ts-config