A YAML file configuration source for @n7e/configuration
.
For further insights, read on.
To install this library use your favorite package manager. No additional steps are required to start using the library.
npm install @n7e/yaml-configuration-source
This library is implemented in TypeScript but can be used with JavaScript without any additional steps.
To use this configuration source simply pass an absolute file path to the constructor. No further configuration is needed nor available.
import { YamlConfigurationSource } from "@n7e/yaml-configuration-source";
configurationBuilder.addConfigurationSource(new YamlConfigurationSource("/path/to/file.yml"));