GEOLYTIX/xyz

URLSearchParams to split process.env variables

Opened this issue · 0 comments

Where multiple process.env variables are required to support a single module it would be advantageous to provide a single environment variable which can split with URLSearchParams.

This could be applied for SAML2, Mailer [TRANSPORT], dbs, and possibly more.

Object.fromEntries(new URLSearchParams(process.env.DBS).entries())