parse-filepath
parse-filepath copied to clipboard
Parse a filepath and return an object of path parts. Falls back on native node.js `path.parse` if it exists
Results
1
parse-filepath issues
Sort by
recently updated
recently updated
newest added
trafficstars
**Filepath:** `C:\\Program Files\\Projects\\Example\\launchFile.exe` **Result:** ``` { name: "C:\\Program Files\\Projects\\Example\\launchFile", basename: "C:\\Program Files\\Projects\\Example\\launchFile.exe", dirname: "", ext: ".exe", isAbsolute: false, ... } ``` **Expected Result:** ``` { name: "launchFile", basename: "launchFile.exe", dirname:...