cfenv 1.0.0 with new getServiceCreds() method

The cfenv package is intended to be the Swiss army knife of handling your Cloud Foundry runtime environment variables for node.js applications. Here's a breakdown of the latest updates to the package.

Continue reading

Using the node.js cfenv package to make your life easier

I've just put together a little Bluemix application for node.js - bluemix-service-switcher - which shows how to access service information using the cfenv package. This sample, and the cfenv package, should also work fine on any Cloud Foundry-based PaaS. cfenv provides a number of functions to deal with the VCAP_SERVICES and VCAP_APPLICATION environment variables. You will never have to JSON.parse() them again!

Continue reading