check what packages are linked code example Example: npm global link check npm ls -g --depth=0 --link=true