is-cloudfoundry
Determines if the environment is Cloud Foundry
Installation
npm install --save is-cloudfoundry
Usage
var isCF = require('is-cloudfoundry');
if (isCF) {
// Running on Cloud Foundry
}
else {
// Running somewhere else
}
Determines if the environment is Cloud Foundry
npm install --save is-cloudfoundry
var isCF = require('is-cloudfoundry');
if (isCF) {
// Running on Cloud Foundry
}
else {
// Running somewhere else
}
npm i is-cloudfoundry
1
0.1.1
MIT