1.2.1 • Published 4 months ago

pointenv v1.2.1

Weekly downloads
-
License
MIT
Repository
github
Last release
4 months ago

pointenv npm version

Install

# Install locally (recomended)
npm install pointenv --save

Or installing with yarn? yarn add dotenv

Create a .env file in the root of your project:

NAME=Pointenv
VERSION=1.2.1
LICENSE=MIT
AUTHOR=Shahzada Modassir
DEBUG=true
GIT_REPOGITORY="git+https://github.com/nodeflict/pointenv.git"

As early as possible in your application, import and configure dotenv:

require("pointenv").load();
console.log(process.env);

That's it. process.env now has the keys and values you defined in your .env file:

require("pointenv").load();
console.log(process.env.GIT_REPOGITORY);

License

MIT

Author

Shahzada Modassir