DEV Community

Discussion on: You are reading environment variables the wrong way in Next.js

Collapse
karanpratapsingh profile image
Karan Pratap Singh • Edited on

Env Var is a perfect package for this npmjs.com/package/env-var

You can make a variable as required, parse from base64, other types. It’s been my goto recently

Collapse
austinshelby profile image
Austin Shelby Author

Great suggestion. That package looks great for this purpose.