https://github.com/flavors-js/flavors-loader-yaml
YAML configuration loader for flavors library.
https://github.com/flavors-js/flavors-loader-yaml
configuration-management flavors-loader javascript nodejs yaml yaml-configuration
Last synced: over 1 year ago
JSON representation
YAML configuration loader for flavors library.
- Host: GitHub
- URL: https://github.com/flavors-js/flavors-loader-yaml
- Owner: flavors-js
- License: mit
- Created: 2017-08-20T19:46:17.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2022-12-09T20:34:48.000Z (over 3 years ago)
- Last Synced: 2025-02-28T23:42:31.021Z (over 1 year ago)
- Topics: configuration-management, flavors-loader, javascript, nodejs, yaml, yaml-configuration
- Language: JavaScript
- Size: 972 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://www.npmjs.com/package/flavors-loader-yaml)
[](https://travis-ci.org/flavors-js/flavors-loader-yaml)
[](https://david-dm.org/flavors-js/flavors-loader-yaml)
[](https://github.com/semantic-release/semantic-release)
[](https://gitter.im/flavors-js/flavors?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
# flavors YAML loader
YAML configuration loader for [flavors](https://github.com/flavors-js/flavors) library.
[js-yaml](https://github.com/nodeca/js-yaml) is used for YAML parsing.
## Install
```bash
$ npm install --save-dev flavors-loader-yaml
```
## Usage
```javascript
const flavors = require('flavors');
const config = flavors('my-config', {
loaders: [require('flavors-loader-yaml')]
});
```
### Configuration definition
Configuration definition is the same as when using [JSON loader](https://github.com/flavors-js/flavors#json-loader).
## Maintainers
- [@mxl](https://github.com/mxl)
## License
See the [LICENSE](https://github.com/flavors-js/flavors-loader-yaml/blob/master/LICENSE) file for details.