addons

Addons securely sets your Launchpack.io env vars.

npm install addons
13 downloads in the last week
27 downloads in the last month

Node.js module for Launchpack.io

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

Install

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');
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 Launchpack.io settings change (anytime addons.json is updated):

rake addons:heroku:push

Test App repo

npm loves you