1.0.2 • Published 5 years ago

hubot-dotenv-adapter v1.0.2

Weekly downloads
-
License
MIT
Repository
-
Last release
5 years ago

hubot-dotenv-adapter

About .env

dotenv

Install

npm i hubot-dotenv-adapter --save

Example

Your .env file:

FOO=953

Part of your package.json file:

{
  "scripts": {
    "start": "hubot-dotenv-adapter -n botname -a matteruser"
  }
}

Flags: -n botname -a hubot adapter (optional)

Run with npm start

Get environment variables from your bot:

console.log(process.env.FOO);
// 953
1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago