longest
Get the longest item in an array.
common-path
Finds the longest common parent directory path in an array of file path strings or custom objects. Also returns sub and base parts for each path.
node-lcs
Implementations for the Longest Common Substring algorithm [O(nm) time]