hubot-dotenv-adapter
v1.0.2
Published
[dotenv](https://github.com/motdotla/dotenv/)
Downloads
1
Readme
hubot-dotenv-adapter
About .env
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