dotenv icon indicating copy to clipboard operation
dotenv copied to clipboard

Loads environment variables from `.env`.

Results 9 dotenv issues
Sort by recently updated
recently updated
newest added

I'm trying to run this on flutter web, and getting this error message in the console: ``` Flutter Web Bootstrap: Auto Error: Unsupported operation: _Namespace at Object.throw_ [as throw] (http://localhost:56952/dart_sdk.js:5080:11)...

- [ ] TODO: changelog - [ ] TODO: see about best practices for `part` -> `import` - [x] TODO: fix example - [ ] TODO: test cli - [...

in progress

This ended up being a bit more than I expected. Addresses #13 . - Added top-level dotenv constant to avoid namespace collisions; - Declared previous APIs deprecated; - Updated tests,...

I have a general question re security using env variables with this package - If semi important credentials are stored in environment variables within a flutter app, how "secure" is...

I have followed all the instructions add the .env to the pubspec.yaml Called the DotEnv().load('.env') But nothing seems to work. So I trying running rootBundle.loadString('.env'); And it gives me an...

As soon as you build an executable for your dart cli and run that executable from the terminal. It can't find the .env file and throws the following error `[dotenv]...

Hello @mockturtl 👋 This is a proposal PR which is by no means final, but a prototype for better understanding of the underlying problems and proposed solutions: ### Motivation `dotenv`...

I replaced the usages of dart:io in the library with universal_io, this should make the package compatible with the web platform. Furthermore I made it possible to import the Parser...