nixconfig-yaml

1.0.0 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i nixconfig-yaml

Weekly Downloads

3

Version

1.0.0

License

MIT

Last publish

Collaborators

  • jsumners