1.0.0 • Published 9 years ago
hubot-dotenv v1.0.0
hubot-dotenv
About .env
Install
npm i -S hubot-dotenvExample
Your .env file:
FOO=42Part 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);
// 421.0.0
9 years ago