Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

    externalized-configpublic

    Externalized Config

    A module for loading externalized configuration files in a Node.js app.

    This module will attempt to load a JSON configuration file in the following manner.

    1. Look for an environment variable in the format "{{appname}}_CONFIG"
    2. Look for the existence of a file at the location "$HOME/.config/{{appname}}.json"
    3. Look for a process augment "--config"
    4. Look for a project local file at the location of "/{{appname}}.json"

    This module will provide options to override the pre-defined formats and locations listed above.

    Keywords

    none

    install

    npm i externalized-config

    Downloadsweekly downloads

    1

    version

    0.3.0

    license

    none

    repository

    github.com

    last publish

    collaborators

    • avatar