npm-logical-tree

Calculate 'logical' trees from a package.json + package-lock

which-pm

Detects what package manager was used for installation

preferred-pm

Detects what package manager was used for installation