dotenv-array

Parse delimiter separated values from env to array. Default delimiter is ,.

Usage no npm install needed!

<script type="module">
  import dotenvArray from 'https://cdn.skypack.dev/dotenv-array';
</script>

README

DotEnv Array

Parse delimiter separated values from env to array. Default delimiter is ,.

Install

npm i dotenv-array -S
## or
yarn add dotenv-array

Usage

require('dotenv').load()

const env = require('dotenv-array')()
// or
process.env = require('dotenv-array')()

The environment variable values wrapped with backticks ()or ends with star(*)` are excluded from the parse process.