UNPKG

@rapido/env

Version:

Modules to manage environment variables in Rapido apps.

18 lines (13 loc) 356 B
/** * Copyright (c) 2019-present Verum Technologies * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ 'use strict'; const env = require('./env.json'); function get(key) { const envars = env; return envars && envars[key] ? envars[key] : ''; } module.exports = get;