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.

boogy

Compare objects and check if they are equal according to a recursive equality algorithm. Similiar to NodeJS core module deepEqual in loose mode

deepest-common-folder

Node module that finds the deepest common folder from an array of given paths