Addons securely sets your env vars.

npm install addons
4 downloads in the last week
30 downloads in the last month

Node.js module for

Using this module you can dynamically download your sevice api keys from


Stop your node server if it is running.

Run this in your terminal:

npm install addons

Add this to your javascript, server.js or otherwise:

var addons = require('addons');

Set environment variables and restart your server:

ADDONS_APP_ID='app_97308f3f-948a-4f90-879a-ea3155e5f6d7' ADDONS_APP_TOKEN='pyw5WBzdfFBh5ta5K63g' node server.js

Heroku install

Run this in your terminal when your settings change (anytime addons.json is updated):

rake addons:heroku:push

Test App repo

npm loves you