deno-dotenv
deno-dotenv copied to clipboard
Deprecated. Use std/dotenv instead.
Have you considered providing an option something like the below that allows strongly typed config? ```typescript import {config} from "https://deno.land/x/dotenv/mod.ts"; const appConfig = config({ safe: true }); console.log(appConfig.MySecret); console.log(appConfig.TwitterApiKey); ```...
### Issue `deno-donenv` is not loading variables into `Deno.env` ### File Structure: ``` project/ ├── .env ├── import_map.json └── src/ └── app.js ``` ### Files ```json // import_map.json { "imports":...
In other words, to use `readFile()` instead of `readFileSync()`… That will make the whole thing async of course… So maybe make two versions `config()` and `configSync()`
Hi, thank you for an excellent library that works intuitively. I'm working on a fairly complex project with a lot of variables inside the .env file. Is there intent to...
Since this is now part of the std, https://github.com/pietvanzoen/deno-dotenv#-dotenv-is-now-a-part-of-deno_std- It would help if this repo is archived, so is more clear that we should prefer using std/dotenv than this.
If you try and run the code the following code with the command `deno run --allow-read test.ts` it succeeds. ```typescript import { config } from "https://deno.land/x/dotenv/mod.ts"; console.log(config()); ``` However, if...
If you have an .env file with a value set but then set an env var whilst running deno it is not overwritten. in deployment cases often, envvars will be...
Typically .env these files are small and manageable, but there are times when you run into situations where you duplicate the same data within the file. Here is an example:...
` import "https://deno.land/x/dotenv/load.ts"` this doesn't parse `.env.local`
target `all` is also phony, isn't it? https://github.com/pietvanzoen/deno-dotenv/blob/51ac5ce01d01de423365c758cf7a3236c019e881/Makefile#L14