UNPKG

@forzalabs/remora

Version:

A powerful CLI tool for seamless data translation.

15 lines (14 loc) 502 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); class SecretManagerClass { constructor() { this.replaceSecret = (value) => { if (!value || value.length <= 2 || !value.startsWith('{') || !value.endsWith('}')) return value; const parsedValue = value.slice(1, value.length - 1); return process.env[parsedValue]; }; } } const SecretManager = new SecretManagerClass(); exports.default = SecretManager;