I have been thinking of building a vscode tool and finally published one.
It is an extension used for automating the process of adding a line of variable to .env and sample-env file, instead of copying and pasting.
const KEY = "MysecretKey"; Right click on the line Click on Add Line to env The line will change to: const KEY = process.env.KEY The env and sample-env file will also be populated
Check out the repo here:
Kindly help install on vscode. it means a lot. Thanks
I will put up an article on how I built it.