env-var
env-var copied to clipboard
Verification, sanitization, and type coercion for environment variables in Node.js
**Is your feature request related to a problem? Please describe.** is something interesting, there is an email validation when string, I would liken [...] **Describe the solution you'd like** do...
# ISSUE https://github.com/evanshortiss/env-var/issues/146 # Description Basically I followed this [StackOverflow post](https://stackoverflow.com/questions/201323/how-can-i-validate-an-email-address-using-a-regular-expression), but replaced expressions of unicodes of '\xhh' with '\uhhhh' because they are not standard in EcmaScript. refs) https://stackoverflow.com/questions/29028756/javascript-unicode-regex-range-out-of-order-in-character-class
v8.0.0
Preparing for a v8.0.0 release. I will push to the `typescript-refactor` branch in the next few days with a working codebase that handles some or all of these items: -...
See #156 for more information.
**Is your feature request related to a problem? Please describe.** I'm using [dotenv-defaults](https://www.npmjs.com/package/dotenv-defaults) in my projects. This allows you to have your default values in a file called `.env.defaults`, which...
Trying to use this lib with vite which uses `import.meta.env` as the default location for env vars and I get the following error ``` process is not defined at node_modules/env-var/env-var.js...
It would be cool if we could use this library in Deno. :smile:
**Is your feature request related to a problem? Please describe.** It would be helpful to provide a description for each environment variable. **Describe the solution you'd like** A .description('Specifies that...
**Is your feature request related to a problem? Please describe.** **Problem**: lack of tests for types can introduce defects. This is a spillover from the discussion in #117 and defects...
Hey! I know there is already an option to add custom accessors, but those are only going at the end of the evaluation chaing. I'm interested in sort of a...