inxilpro / node-checkenv

Check your current environmental variables against a project config file
46 stars 6 forks source link

Applying default values. #3

Closed Amberlamps closed 8 years ago

Amberlamps commented 8 years ago

With this little tweak default values are applied when environment variable is not found.

{
  "TEST_VAR": {
    "required": true,
    "default": "hello"
  }
}
inxilpro commented 8 years ago

Oops. Just committed the same feature. Thanks for the PR, though!

Amberlamps commented 8 years ago

:+1: