@stryke/path 0.10.2 → 0.11.0

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.
@@ -29,6 +29,9 @@ export declare function findFileName(filePath: string, options?: FindFileNameOpt
29
29
  /**
30
30
  * Find the full file path's directories from a file path.
31
31
  *
32
+ * @remarks
33
+ * The functionality of this method is similar to the {@link path.dirname} function in Node's path module.
34
+ *
32
35
  * @example
33
36
  * ```ts
34
37
  * const folderPath = findFilePath("C:\\Users\\user\\Documents\\file.txt");
@@ -43,9 +46,8 @@ export declare function findFilePath(filePath: string): string;
43
46
  * Find the top most folder containing the file from a file path.
44
47
  *
45
48
  * @remarks
46
- * If you're looking for the full path of the folder (for example: `C:\\Users\\user\\Documents` instead of just `Documents`) containing the file, use {@link findFilePath} instead.
47
- *
48
49
  * The functionality of this method is similar to the {@link path.basename} function in Node's path module.
50
+ * If you're looking for the full path of the folder (for example: `C:\\Users\\user\\Documents` instead of just `Documents`) containing the file, use {@link findFilePath} instead.
49
51
  *
50
52
  * @example
51
53
  * const folderPath = findFolderName("C:\\Users\\user\\Documents\\file.txt");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stryke/path",
3
- "version": "0.10.2",
3
+ "version": "0.11.0",
4
4
  "type": "module",
5
5
  "description": "A package containing various utilities that expand the functionality of NodeJs's built-in `path` module",
6
6
  "repository": {
@@ -260,5 +260,5 @@
260
260
  "main": "./dist/index.cjs",
261
261
  "module": "./dist/index.mjs",
262
262
  "types": "./dist/index.d.ts",
263
- "gitHead": "b72d8a5bebd6ce47e458809cab4392bb000ecd81"
263
+ "gitHead": "ea7a3a1d68d4a4361cc04d6f5bf6219a5bc4a2a2"
264
264
  }