{"action":"opened","issue":{"url":"https://api.github.com/repos/niftylettuce/dotenv-parse-variables/issues/2","repository_url":"https://api.github.com/repos/niftylettuce/dotenv-parse-variables","labels_url":"https://api.github.com/repos/niftylettuce/dotenv-parse-variables/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/niftylettuce/dotenv-parse-variables/issues/2/comments","events_url":"https://api.github.com/repos/niftylettuce/dotenv-parse-variables/issues/2/events","html_url":"https://github.com/niftylettuce/dotenv-parse-variables/issues/2","id":247238586,"number":2,"title":"Example from readme.md is broken","user":{"login":"Grawl","id":846774,"avatar_url":"https://avatars2.githubusercontent.com/u/846774?v=4","gravatar_id":"","url":"https://api.github.com/users/Grawl","html_url":"https://github.com/Grawl","followers_url":"https://api.github.com/users/Grawl/followers","following_url":"https://api.github.com/users/Grawl/following{/other_user}","gists_url":"https://api.github.com/users/Grawl/gists{/gist_id}","starred_url":"https://api.github.com/users/Grawl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Grawl/subscriptions","organizations_url":"https://api.github.com/users/Grawl/orgs","repos_url":"https://api.github.com/users/Grawl/repos","events_url":"https://api.github.com/users/Grawl/events{/privacy}","received_events_url":"https://api.github.com/users/Grawl/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-08-02T00:17:56Z","updated_at":"2017-08-02T00:17:56Z","closed_at":null,"body":"```js\r\nimport dotenv from 'dotenv';\r\nimport dotenvParseVariables from 'dotenv-parse-variables';\r\n\r\nlet env = dotenv.config({});\r\nenv = dotenvParseVariables(env);\r\n```\r\n\r\n```bash\r\n➜ gulp --tasks\r\n[10:13:58] Requiring external module babel-register\r\n/Users/…/Sites/…/node_modules/dotenv-parse-variables/lib/index.js:39\r\n  if (value.toLowerCase() === 'true' || value.toLowerCase() === 'false') {\r\n            ^\r\n\r\nTypeError: value.toLowerCase is not a function\r\n    at parseKey (/Users/…/Sites/…/node_modules/dotenv-parse-variables/src/index.js:30:13)\r\n    at /Users/…/Sites/…/node_modules/dotenv-parse-variables/src/index.js:10:35\r\n    at Array.forEach (native)\r\n    at exports.default (/Users/…/Sites/…/node_modules/dotenv-parse-variables/src/index.js:8:20)\r\n    at Object.<anonymous> (/Users/…/Sites/…/gulp-config.js:5:7)\r\n    at Module._compile (module.js:569:30)\r\n    at loader (/Users/…/Sites/…/node_modules/babel-register/lib/node.js:144:5)\r\n    at Object.require.extensions.(anonymous function) [as .js] (/Users/…/Sites/…/node_modules/babel-register/lib/node.js:154:7)\r\n    at Module.load (module.js:503:32)\r\n    at tryModuleLoad (module.js:466:12)\r\n```"}}
{"actor":{"display_login":"Grawl"}}