Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including ey_config with all npm packages installed. Try it out:

var eyConfig = require("ey_config")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

ey_config v1.0.0

Access to additional services for Engine Yard customers.

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
RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free