@karmaniverous/get-dotenv 0.0.1 → 0.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md
CHANGED
|
@@ -55,8 +55,8 @@ import { foo, PACKAGE_INFO } from '@karmaniverous/npm-package-template`;
|
|
|
55
55
|
<dt><a href="#getDotenv">getDotenv([options])</a> ⇒ <code>Object</code></dt>
|
|
56
56
|
<dd><p>Asynchronously process dotenv files of the form .env[.<ENV>][.<PRIVATETOKEN>]</p>
|
|
57
57
|
</dd>
|
|
58
|
-
<dt><a href="#
|
|
59
|
-
<dd><p>Synchronously process dotenv files of the form .env[.<ENV>][
|
|
58
|
+
<dt><a href="#getDotenvSync">getDotenvSync([options])</a> ⇒ <code>Object</code></dt>
|
|
59
|
+
<dd><p>Synchronously process dotenv files of the form .env[.<ENV>][.<PRIVATETOKEN>]</p>
|
|
60
60
|
</dd>
|
|
61
61
|
</dl>
|
|
62
62
|
|
|
@@ -80,10 +80,10 @@ Asynchronously process dotenv files of the form .env[.<ENV>][.<PRIVATETOKEN>]
|
|
|
80
80
|
| --- | --- | --- |
|
|
81
81
|
| [options] | [<code>OptionsType</code>](#OptionsType) | options object |
|
|
82
82
|
|
|
83
|
-
<a name="
|
|
83
|
+
<a name="getDotenvSync"></a>
|
|
84
84
|
|
|
85
|
-
##
|
|
86
|
-
Synchronously process dotenv files of the form .env[.<ENV>][.<
|
|
85
|
+
## getDotenvSync([options]) ⇒ <code>Object</code>
|
|
86
|
+
Synchronously process dotenv files of the form .env[.<ENV>][.<PRIVATETOKEN>]
|
|
87
87
|
|
|
88
88
|
**Kind**: global function
|
|
89
89
|
**Returns**: <code>Object</code> - The combined parsed dotenv object.
|
|
@@ -65,9 +65,9 @@ const getDotenv = async function () {
|
|
|
65
65
|
};
|
|
66
66
|
|
|
67
67
|
/**
|
|
68
|
-
* Synchronously process dotenv files of the form .env[.<ENV>][.<
|
|
68
|
+
* Synchronously process dotenv files of the form .env[.<ENV>][.<PRIVATETOKEN>]
|
|
69
69
|
*
|
|
70
|
-
* @function
|
|
70
|
+
* @function getDotenvSync
|
|
71
71
|
*
|
|
72
72
|
* @param {OptionsType} [options] - options object
|
|
73
73
|
*
|
|
@@ -76,9 +76,9 @@ export const getDotenv = async ({
|
|
|
76
76
|
};
|
|
77
77
|
|
|
78
78
|
/**
|
|
79
|
-
* Synchronously process dotenv files of the form .env[.<ENV>][.<
|
|
79
|
+
* Synchronously process dotenv files of the form .env[.<ENV>][.<PRIVATETOKEN>]
|
|
80
80
|
*
|
|
81
|
-
* @function
|
|
81
|
+
* @function getDotenvSync
|
|
82
82
|
*
|
|
83
83
|
* @param {OptionsType} [options] - options object
|
|
84
84
|
*
|