dotenv-internal
v1.2.3
Published
This package immitates dotenv in order to use and maintain internally.
Downloads
3
Readme
Usage
Import config as early as possible in the application.
// Will find .env file from project root by default.
require('dotenv-internal')();
// Pass options object to override default option.
const options = {
rootpath: 'path/to/project/root',
filename: '.env',
encoding: 'utf8',
override: false,
};
require('dotenv-internal')a(options);
For further documentation please refer to the original dotenv.