how list all the packages used in node application code example Example: node js list all installed modules npm -g ls --depth=0