nconf icon indicating copy to clipboard operation
nconf copied to clipboard

Give ability to change the default get separator

Open gallofeliz opened this issue 5 years ago • 4 comments

Hi,

As it is possible to use "_" for env() and argv() (or '-'), it should be good te be able to configure the get separator.

Example :

{
    "database": {
        "user": "root"
    }
}

I would like to get database:user doing nconf.get('database.user'). It's more natural.

Regards

gallofeliz avatar Jul 26 '18 16:07 gallofeliz