Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

7
  • 2
    Hmm, I tried to use this package but it seems to only track environment variable usage. It doesn't read .env file (npmjs.com/package/envs). Is it a correct package ? Commented Apr 15, 2015 at 11:57
  • 2
    You're right! It does not read the .env file. This is embarrassing. I forgot that I was loading the .env with a bash script as @SamT mentioned, so it worked anyway. Commented Apr 15, 2015 at 19:46
  • 1
    "require('envs')"? What is "envs"? Commented Sep 26, 2016 at 1:10
  • 1
    'envs' is the name of a node module: npmjs.com/package/envs Commented Sep 26, 2016 at 22:03
  • 7
    Also I recommend using the "dotenv" module, it put all the ENV variables into the proccess object, pretty neat by the way. Commented Feb 17, 2017 at 17:30