Skip to content

Commit

Permalink
readme update
Browse files Browse the repository at this point in the history
  • Loading branch information
mehmet committed Oct 10, 2017
1 parent c65c779 commit 96920af
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Expand Up @@ -94,11 +94,11 @@ Available Config Options:
- `parse` (type: *bool*|*object*, default: *object*):
1. `false`: returns raw environment variable value
1. `{}`: allows you to define which value types are going to be parsed.
- `object` (type: *bool*, default: *true*): parse string as object (value must be valid JSON input, see: [JSON.parse](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/JSON/parse#Using_JSON.parse())).
- `object` (type: *bool*, default: *true*): parse stringified object (value must be valid JSON input, see: [JSON.parse](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/JSON/parse#Using_JSON.parse())).
- `array` (type: *bool*, default: *true*): parse stringified array (value must be valid JSON input, see: [JSON.parse](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/JSON/parse#Using_JSON.parse())).
- `int` (type: *bool*, default: *true*): parse digits into integer (value consists of only numbers).
- `float` (type: *bool*, default: *true*): parse decimals into integer (value consists of only numbers with decimal point).
- `bool` (type: *bool*, default: *true*): parse if string equals to *'true'* or *'false'*.
- `int` (type: *bool*, default: *true*): parse numbers into integer (value must be consist of only digits).
- `float` (type: *bool*, default: *true*): parse numbers into float (value must be consist of only digits with decimal point).
- `bool` (type: *bool*, default: *true*): parse if value into bolean if it equals to *'true'* or *'false'* .
- `ignoreInvalidJSON` (type: *bool*, default: *true*): if set to false, throws exception when value is not a valid JSON input (parse.object or parse.array options must be set to true).
- `filter` (type: *null*|*function*, default: *null*): filters environment variables (overrides prefix rule).
1. `null`, don't filter varaibles.
Expand Down

0 comments on commit 96920af

Please sign in to comment.