We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
silent
1 parent c2f5e71 commit 5bf6de7Copy full SHA for 5bf6de7
‎types/dotenv-flow/dotenv-flow-tests.ts
@@ -20,3 +20,5 @@ dotenv.config({
20
purge_dotenv: true,
21
silent: false,
22
});
23
+
24
+dotenv.load('/path', { silent: true });
‎types/dotenv-flow/index.d.ts
@@ -1,4 +1,4 @@
1
-// Type definitions for dotenv-flow 3.1
+// Type definitions for dotenv-flow 3.2
2
// Project: https://github.com/kerimdzhanov/dotenv-flow
3
// Definitions by: Vincent Langlet <https://github.com/vincentlanglet>
4
// Dan Kerimdzhanov <https://github.com/kerimdzhanov>
@@ -26,6 +26,10 @@ export interface DotenvReadFileOptions {
26
* Encoding for reading the `.env*` files.
27
*/
28
encoding?: string | undefined;
29
+ /**
30
+ * Whether to support suppressing the console output.
31
+ */
32
+ silent?: boolean | undefined;
33
}
34
35
export interface DotenvParseOutput {
0 commit comments