sindresorhus/conf

Add feature to disable dot-notation #44

Xylobol posted onGitHub

Hi! I'm working on a project that uses reverse-domain naming for namespaces, and we need to store some data with the namespace as the key. Where we'd expect

{
    "cc.xylobol.test": {
        "foo": "bar"
    }
}

we end up with

{
    "cc": {
        "xylobol": {
            "test": {
                "foo": "bar"
            }
        }
    }
}

instead due to the dot-notation. Is there a pre-existing way to disable this? If not, could it be added as a feature?

Thank you in advanced. Xylobol


Fund this Issue

$40.00
Rewarded

Rewarded pull request

Recent activities

yaodingyd was rewarded by sindresorhus for sindresorhus/conf# 44
almost 6 years ago
yaodingyd submitted an output to  sindresorhus/ conf# 44
almost 6 years ago