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 --saveExample
Your .env file:
FOO=953Part 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