commondir
compute the closest common parent for file paths
merkle-lib
A performance conscious library for merkle root and tree calculations.
common-path-prefix
Computes the longest prefix string that is common to each path, excluding the base component