Determines the longest common prefix of an array of file paths or strings. This library efficiently identifies the shared starting portion of multiple paths, useful for tasks like optimizing storage or generating relative paths. It handles various path formats, including absolute and relative paths. Results in a single, standardized common prefix string. Lightweight and dependency-free, making it a quick and reliable solution for path manipulation in Node.js and browser environments.