This package has been deprecated
The package is no longer maintained. Use the npm package dotenv instead.
DotEnv for Node.js
DotEnv loads environment variables from .env into your ENV.
As early as possible in your application require dotenv and load the .env variables.
DotEnv = ;;
Add your application configuration to a
.env file in the root of your project:
When your application loads, these variables will be available via
- The Twelve Factor App
bkeepers/dotenv- the original, written in Ruby - https://github.com/bkeepers/dotenv
- Fork it
- Create your feature branch (
git checkout -b my-new-feature)
- Commit your changes (
git commit -am 'Added some feature')
- Push to the branch (
git push origin my-new-feature)
- Create new Pull Request
npm installnpm test