This is a module for applications written in v.
It helps if your application uses different settings like database credentials for production vs development.
I had the idea to create it as early as 2019 when I needed it for another project.
I looked for an existing module, but there wasn't one.
By the time I could actually program and release it I found there was already another dotenv module available. That was a bummer.
I found out that the other dotenv module doesn't strictly follow docker-compose .env syntax rules. So this is what makes my module different.
Later I added some gimmicks. E.g. auto create the missing .env file on first run prefilled with placeholders of the variables that are needed. Also support for the 'export' keyword was added.
This is the first open source repository from me. Please tell me if I've missed something.
I was really excited about V until I started using it and every few days everything would break after upgrading. Maybe someday they will stablize. But I am going with deno until then.
2 comments
[ 6.9 ms ] story [ 17.2 ms ] thread