You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Would a PR which aligns with the Ruby library be welcome?
Context
I've noticed some implementations of dotenv support character escapes and some do not.
Also there does not seem to be an official specification anywhere for dotenv.
This is causing issues when we need to use the same .env files in multiple runtimes.
Is the Ruby library the original implementation and thus also used as the pseudo specification?
Examples of escape handling in different dotenv libraries
Hello @motdotla and thank you for creating dotenv nodejs library 👍
Feature Request
Could dotenv nodejs library support escape sequences (e.g
\" \t
) ?At the minimum can it be aligned with the Ruby dotenv library?
Would a PR which aligns with the Ruby library be welcome?
Context
I've noticed some implementations of dotenv support character escapes and some do not.
Also there does not seem to be an official specification anywhere for dotenv.
This is causing issues when we need to use the same
.env
files in multiple runtimes.Is the Ruby library the original implementation and thus also used as the pseudo specification?
Examples of escape handling in different dotenv libraries
Ruby Library
$
\n
and\r
and only in double quoted strings.Elixir Library escaping specs
\t
and\f
Python Library
The text was updated successfully, but these errors were encountered: