Neoenv is a lightweight, zero-dependency, new-generation module for hassle-free, clean, typed and safe environment variables management for modern developers. ππ₯
It loads environment variables from a .env
file into process.env
and automatically generates a configuration object based on the keys with a single command. π€―
Now, you'll be able to access the environment variables based on your .env
file in a type-safe way with some nice IntelliSense and autocomplete. π€©
And guess what? It supports both JavaScript and TypeScript. π
Check the Configuration section for more details on how to configure and use it according to your needs of the project. π€
Find the npm package here
Star the GitHub repo to keep the developer motivated π₯Ίβ¨
Find out here (why-neoenv.md) what problems neoenv is solving and why it should be used in your project.
Using npm
npm i neoenv
or
npm install --save neoenv
Using Yarn
yarn add neoenv
Check the Usage Doc for more details on how to easily use neoenv
in your project.
For more information about configuring and using neoenv
, see the Configuration Section.
See the issues for a list of proposed features (and known issues). Feel free to raise new issues.
Distributed under the MIT License. See LICENSE for more information.
Niloy Sikdar
I hope you liked this package and found it useful. Star the GitHub repo if you liked it π Feel free to open an issue or create a pull request if you have any questions, suggestions or feedback. π