From 91c6744c1e1dedc21fb5ca2e1e4da4a82d451e6b Mon Sep 17 00:00:00 2001 From: Raymond Douglas Date: Wed, 22 Nov 2017 15:56:00 -0800 Subject: [PATCH] npm.md: additional module listing use case Added a use case for listing all globally installed modules with a tree depth of 0. --- pages/common/npm.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pages/common/npm.md b/pages/common/npm.md index 4fe1c4b3e..9b2fc736c 100644 --- a/pages/common/npm.md +++ b/pages/common/npm.md @@ -27,6 +27,10 @@ `npm list` +- List a tree of globally installed modules: + +`npm list -g --depth=0` + - Interactively create a package.json file: `npm init`