I would strike dotenv out and use wj-config instead. It does everything dotenv and config does, plus some extra things, with less than 40KB of source code. It is written in TypeScript and transpiled to ES modules, comes with TS definitions and works just as well in NodeJS and browser frameworks/libraries like ReactJS. Cheers.
José Pablo Ramírez Vargas
Senior Software Developer @ Intel
I would strike
dotenvout and use wj-config instead. It does everythingdotenvandconfigdoes, plus some extra things, with less than 40KB of source code. It is written in TypeScript and transpiled to ES modules, comes with TS definitions and works just as well in NodeJS and browser frameworks/libraries like ReactJS. Cheers.