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.
Files changed (3) hide show
  1. package/index.d.ts +3 -3
  2. package/index.js +1 -1
  3. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -6,8 +6,8 @@
6
6
  * @returns {void}
7
7
  *
8
8
  * @example
9
- * ensureDirectory("./data/logs");
9
+ * ensureDir("./data/logs");
10
10
  */
11
- declare function ensureDirectory(path: string): void;
11
+ declare function ensureDir(path: string): void;
12
12
 
13
- export = ensureDirectory;
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.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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ensure-dir-tiny",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "📁 Checks if a folder exists; if not, it creates it. This prevents \"File Not Found\" errors when saving data.",
5
5
  "main": "index.js",
6
6
  "module": "index.js",