UNPKG
dotenv-expand
Version:
latest (12.0.2)
12.0.2
12.0.1
12.0.0
11.0.7
11.0.6
11.0.5
11.0.4
11.0.3
11.0.2
11.0.1
11.0.0
10.0.0
9.0.0
8.0.3
8.0.2
8.0.1
8.0.0
7.0.0
6.0.1
6.0.0
5.1.0
5.0.0
4.2.0
4.1.0
4.0.1
4.0.0
0.1.0
Expand environment variables using dotenv
github.com/motdotla/dotenv-expand
motdotla/dotenv-expand
dotenv-expand
/
config.js
14 lines
(11 loc)
•
275 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
(
function
(
) {
const
dotenvExpand =
require
(
'./lib/main'
).
expand
const
env =
require
(
'dotenv'
).
config
(
Object
.
assign
( {},
require
(
'dotenv/lib/env-options'
),
require
(
'dotenv/lib/cli-options'
)(process.
argv
) ) )
return
dotenvExpand
(env) })()