1.0.2 • Published 5 years ago
hubot-dotenv-adapter v1.0.2
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