firebase
Test if Firebase is Initialized on Node.JS / Lambda
Firebase is build on the assumption that it will only be initialized once. This can be a problem in Node.JS applications sometimes, especially if they are run as part of an Amazon Lambda function. This can lead to errors as the following: Firebase App named '[DEFAULT]' already