Engine Yard Configuration helper for Node.js
CoffeeScript JavaScript
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
test
.gitignore
.npmignore
.travis.yml
README.md
package.json

README.md

Engine Yard services configuration Build Status

Installation

Add package "ey_config" to your EY Cloud Node.js application's package.json dependencies. For example:

"dependencies": {
  "ey_config": "~1.0"
}

Usage

var EYConfig = require('ey_config');
EYConfig.get('mongodb', 'MONGOHQ_URL');
EYConfig.get('mongodb').MONGOHQ_URL;

Tests

npm test

Release

Add yourself as an npm package author:

npm adduser

Then you will need to be added as an owner of the ey_config package. Current owner list:

$ npm owner ls ey_config
drnic <drnicwilliams@gmail.com>

To add an owner:

npm owner add USERNAME ey_config

Update the version in package.json to 'X.Y.Z'

Release the latest package:

git tag vX.Y.Z
npm publish