Skip to content
This repository was archived by the owner on Sep 25, 2020. It is now read-only.
This repository was archived by the owner on Sep 25, 2020. It is now read-only.

Remove 'dc' and 'dcvalue'. Allow to load from multiple directories instead. #14

@lxe

Description

@lxe

I don't think the 'dc' config should be a first-class citizen in this module, or a strict requirement.

Instead, we should be able to provide multiple paths, if you need to load up some host-specific config:

var config = fetchConfig(__dirname, '/etc/datacenter', '/etc/my-app', /* ... */, { }); 
// Probably not the final interface... just something to think about.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions