1.0.0 • Published 7 years ago

hubot-dotenv v1.0.0

Weekly downloads
23
License
MPL-2.0
Repository
github
Last release
7 years ago

hubot-dotenv

About .env

dotenv

Install

npm i -S hubot-dotenv

Example

Your .env file:

FOO=42

Part of your package.json file:

{
  "scripts": {
    "start": "hubot-dotenv -n botname"
  }
}

Run npm start

Get environment variables from your bot:

console.log(process.env.FOO);
// 42
1.0.0

7 years ago