UNPKG
env2ts
Version:
latest (1.4.0)
1.4.0
1.3.1
1.3.0
1.2.0
1.1.0
1.0.0
0.0.0-development
Dead simple env file parsing for TypeScript
github.com/ajmnz/env2ts
ajmnz/env2ts
env2ts
/
dist
/
utils.d.ts
10 lines
(9 loc)
•
287 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
9
10
export
declare
const
isDotenvInstalled
:
() =>
boolean
;
declare
enum
Manager
{ npm =
"npm"
, yarn =
"yarn"
, none =
"none"
}
export
declare
const
installDotenv
:
(
manager
:
Manager
) =>
Promise
<
string
>;
export
declare
const
parseEnvFile
:
(
contents
:
string
) =>
string
[];
export
{};