mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +08:00
Add dotenv
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
/// <reference path="dotenv.d.ts" />
|
||||
|
||||
import dotenv = require('dotenv');
|
||||
|
||||
dotenv.config({
|
||||
silent: true
|
||||
});
|
||||
|
||||
dotenv.config({
|
||||
path: '.env'
|
||||
})
|
||||
|
||||
dotenv.config({
|
||||
encoding: 'utf8'
|
||||
})
|
||||
Reference in New Issue
Block a user