v3.0.0
Computes the longest prefix string that is common to each path, excluding the base component
Source code on GitHub