1.0.0 • Published 8 years ago
nixconfig-yaml v1.0.0
nixconfig-yaml
This is a plugin for nixconfig to add support for
loading YAML based configuration files.
It supports files with the extensions .yaml and .yml.
Examples
Add both supported extensions to the standard loaders:
const nixconfig = require('nixconfig')
const config = nixconfig({
loaders: require('nixconfig-yaml')
})Add only the .yaml loader to the standard loaders:
const nixconfig = require('nixconfig')
const config = nixconfig({
loaders: [require('nixconfig-yaml')['.yaml']]
})License
1.0.0
8 years ago