Add util to print deps from modules or package.json's