New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

openshift-express

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

openshift-express

Initialize your express application for OpenShift with a single function call

latest
Source
npmnpm
Version
0.0.1
Version published
Maintainers
1
Created
Source

openshift-express

Initialize your express application for OpenShift with a single function call. Setup ipaddr, hostname and port for the underlying OpenShinft instance. Optionally loads one or more databsse DSN into the app object.

Build Status

Getting Started

Install the module with: npm install openshift-express

var express = require('express'),
    openshift = require('openshift-express'),
    app = express();


openshift(app, {databases: [
    { type: 'mongodb' }
]});

console.log(app.get('mongodb dsn')); // mongodb://localhost:27017/database

Documentation

(Coming soon)

Contributing

In lieu of a formal styleguide, take care to maintain the existing coding style. Add tests for any new or changed functionality. Lint and test your code using Grunt.

License

Copyright (c) 2014 Marco Grätsch
Licensed under the MIT license.

Keywords

openshift

FAQs

Package last updated on 01 Sep 2014

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts