1.0.0 • Published 6 years ago

nixconfig-yaml v1.0.0

Weekly downloads
5
License
MIT
Repository
github
Last release
6 years ago

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

MIT License