path-parse is a lightweight and dependency-free utility designed for robust and efficient parsing of file paths. It deconstructs a given path string into its constituent parts like root, directory, base, name, and extension. Offering a performant alternative to the built-in path.parse, this package is universally compatible, working seamlessly in both Node.js environments and web browsers. With its focused purpose, path-parse delivers precisely the path decomposition functionality needed, without any unnecessary overhead.