UNPKG

@eplata/memory-storage-data

Version:

Modulo que nos permitirá obtener data en memoria

14 lines (12 loc) • 470 B
const { transform: { string: { tryParseInt } } } = require('@eplata/utils'); const { get, VALUES } = require('./../config'); const HOST = get(VALUES.MEMORY_STORAGE_DATA_MODULE__REDIS_HOST); const HOST_RO = get(VALUES.MEMORY_STORAGE_DATA_MODULE__REDIS_HOST_RO); const PORT = tryParseInt(get(VALUES.MEMORY_STORAGE_DATA_MODULE__REDIS_PORT), true); const DB = get(VALUES.MEMORY_STORAGE_DATA_MODULE__REDIS_DB); module.exports = { HOST, PORT, DB, HOST_RO, };