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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.0
    37
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.0
    37

Package Sidebar

Install

npm i hubot-dotenv

Weekly Downloads

15

Version

1.0.0

License

MPL-2.0

Last publish

Collaborators

  • xulapp