confyg
v0.0.4
Published
### Getting Started 1. create a folder called <code>config</code>. 2. place one or more .yaml (name.yaml) files in here. 3. require confyg anywhere in your project and use it like below.
Downloads
2
Readme
confyg
Getting Started
- create a folder called config.
- place one or more .yaml (name.yaml) files in here.
- require confyg anywhere in your project and use it like below.
my-project/config/one.yaml
first:
name: 'value'
my-project/config/two.yml
second:
name: 'value'
const config = require('confyg')
console.log(config)
/*
{
second: { name: 'value' },
first: { name: 'value'}
}
*/