![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Considering running your Node.JS app on a Platform-as-a-Service provider such as Heroku, dotCloud, Nodejitsu - or testing it with Travis or doing testing & continuous deployment with Strider?
EveryPaaS handles all the annoying platform-specific details so that you don't have to. EveryPaas also makes local development a breeze according to 12-factor app best practices.
EveryPaaS detects which environment your app is running in and abstracts away the details of how to connect to external resources.
If you write your app with EveryPaaS, you and your users will be able to seamlessly run it on your dev box and any of a number of platform providers - without changing a single line of code!
MongoDB - everypaas.getMongodbUrl()
MySQL - everypaas.getMysqlUrl()
PostgreSQL - everypaas.getPostgresqlUrl()
Redis - everypaas.getRedisUrl()
Solr - everypaas.getSolrUrl()
SMTP - everypaas.getSMTP()
EveryPaaS is available in NPM. Simply type npm install everypaas
to install
it.
EveryPaaS has a very simple API. When you require EveryPaaS, it will detect which environment it is running in.
Example:
var everypaas = require('everypaas')
var mongodbUrl = everypaas.getMongodbUrl()
Functions
MongoDB
everypaas.getMongodbUrl()
- Returns the URL for the MongoDB service. On Heroku, this will work with both MongoLab and MongoHQ add-ons.
MySQL
everypaas.getMysqlUrl()
- Returns the URL for the MySQL service. On Heroku, this will work with both ClearDB and Xeround add-ons.
PostgreSQL
everypaas.getPostgresqlUrl()
- Returns the URL for the PostgreSQL service.
Redis
everypaas.getRedisUrl()
- Returns the URL for the Redis service. On Heroku, this will work with both Redis To Go and Open Redis add-ons.
Solr
everypaas.getRedisUrl()
- Returns the URL for the Solr service. On Heroku, this will work with the Web Solr add-on.
SMTP
everypaas.getSMTP()
- Returns an argument which can be applied to nodemailer module createTransport
function. On Heroku, this will work with both Mailgun and SendGrid add-ons. Example:
var everypaas = require('everypaas')
var nodemailer = require('nodemailer')
var transport = nodemailer.createTransport.apply(null, everypaas.getSMTP())
transport.sendMail({
from: "foo@example.com", // sender address
to: "bar@example.com", // list of receivers
subject: "EveryPaaS", // Subject line
text: "NOMP stack FTW", // plaintext body_template
html: "<html><body>NOMP stack FTW</body></html>" // html body
}, function(err, response) {
// handle success / failure
})
Properties
everypaas.paas
- The detected platform. Value is one of:
everypaas.HEROKU
(Heroku)everypaas.DOTCLOUD
(dotCloud)everypaas.STRIDER
(Strider)everypaas.TRAVIS
(Travis)everypaas.NODEJITSU
(Nodejitsu)everypaas.NONE
(dev box / unknown)everypaas.herokuEnvironment
- Contains the full Heroku configuration environment.
everypaas.dotCloudEnvironment
- Contains the full dotCloud configuration
environment. This can be useful to retrieve custom confuration variables or if
you have multiple instances of the same service.
everypaas.striderEnvironment
- Contains the full Strider configuration
environment.
EveryPaaS has a comprehensive test suite. This can be executed by running npm test
in the project root.
FAQs
Easily run your app on any PaaS such as Heroku, dotCloud, Nodejitsu
The npm package everypaas receives a total of 0 weekly downloads. As such, everypaas popularity was classified as not popular.
We found that everypaas demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.