npm list --depth 0
npm list --depth 1
Pro tip: use ```triple backticks around text``` to write in code fences