addons

0.1.2 • Public • Published

Node.js module for Addons.io

Using this module you can dynamically download your sevice api keys from Addons.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_API_ID='YOUR_ADDONS_API_ID_HERE' ADDONS_AUTH_TOKEN='YOUR_ADDONS_AUTH_TOKEN_HERE' node server.js

Heroku install

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

rake addons:heroku:push

Test App repo

Readme

Keywords

Package Sidebar

Install

npm i addons

Weekly Downloads

28

Version

0.1.2

License

MIT

Last publish

Collaborators

  • workingben