0.1.3 • Published 8 years ago

dotenv-autoload v0.1.3

Weekly downloads
20
License
ISC
Repository
-
Last release
8 years ago

dotenv-autoload npm version Build Status

Autoload dotenv through recursive finding.

Why?

  • Because I use dotenv a lot;
  • And because I have 2 configs.
- require('dotenv').load({ path: __dirname + '/../../.env' });
+ require('dotenv-autoload');

Nothing is bad about it. It just looks dull.

Getting Started

npm i dotenv dotenv-autoload --save-dev

Note: dotenv is a required dependency.

Usage

require('dotenv-autoload');

That's all you need to get it running.

0.1.3

8 years ago

0.1.2

8 years ago

0.1.1

8 years ago

0.1.0

8 years ago