hubot-dotenv

1.0.0 • Public • Published

hubot-dotenv

About .env

dotenv

Install

npm i -S hubot-dotenv

Example

Your .env file:

FOO=42

Part 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);
// 42

Readme

Keywords

Package Sidebar

Install

npm i hubot-dotenv

Weekly Downloads

8

Version

1.0.0

License

MPL-2.0

Last publish

Collaborators

  • xulapp