UNPKG
@liplum/env
Version:
latest (1.1.0)
1.1.0
1.0.0
0.3.0
0.2.2
0.2.1
0.2.0
0.1.1
0.0.1
Reading and parsing environment variables from "process.env"
github.com/liplum/env.js
liplum/env.js
@liplum/env
/
dist
/
utils.d.ts
7 lines
(6 loc)
•
226 B
TypeScript
View Raw
1
2
3
4
5
6
7
import
{
EnvStore
}
from
"./model.js"
;
export
declare
const
getValueFromStore
:
(
{ key, store }: { key:
string
; store?: EnvStore; }
) =>
string
|
undefined
;
export
declare
const
missingEnvError
:
(
key
?:
string
) =>
Error
;