ensure-dir-tiny 1.0.0 → 1.0.1
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/index.d.ts +3 -3
- package/index.js +1 -1
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -6,8 +6,8 @@
|
|
|
6
6
|
* @returns {void}
|
|
7
7
|
*
|
|
8
8
|
* @example
|
|
9
|
-
*
|
|
9
|
+
* ensureDir("./data/logs");
|
|
10
10
|
*/
|
|
11
|
-
declare function
|
|
11
|
+
declare function ensureDir(path: string): void;
|
|
12
12
|
|
|
13
|
-
export =
|
|
13
|
+
export = ensureDir;
|
package/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* ensure-dir-tiny - 📁 Ensures that the directory at the given path exists. Creates it recursively if it doesn't. Prevents "File Not Found" errors when saving files.
|
|
3
|
-
* @version: v1.0.
|
|
3
|
+
* @version: v1.0.1
|
|
4
4
|
* @link: https://github.com/tutyamxx/ensure-dir-tiny
|
|
5
5
|
* @license: MIT
|
|
6
6
|
**/
|
package/package.json
CHANGED